VirtualBox

Changeset 15649 in vbox


Ignore:
Timestamp:
Dec 18, 2008 12:37:11 PM (16 years ago)
Author:
vboxsync
Message:

#3285: Improve error handling API to include unique error numbers
Document

  • IHardDiskFormat::describeProperties
Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HardDiskFormatImpl.cpp

    r14972 r15649  
    243243                                                ComSafeArrayOut (BSTR, aDefaults))
    244244{
    245     if (ComSafeArrayOutIsNull (aNames) ||
    246         ComSafeArrayOutIsNull (aDescriptions) ||
    247         ComSafeArrayOutIsNull (aTypes) ||
    248         ComSafeArrayOutIsNull (aFlags) ||
    249         ComSafeArrayOutIsNull (aDefaults))
    250         return E_POINTER;
     245    CheckComArgSafeArrayNotNull(aNames);
     246    CheckComArgSafeArrayNotNull(aDescriptions);
     247    CheckComArgSafeArrayNotNull(aTypes);
     248    CheckComArgSafeArrayNotNull(aFlags);
     249    CheckComArgSafeArrayNotNull(aDefaults);
    251250
    252251    AutoCaller autoCaller (this);
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r15582 r15649  
    86728672        same and corresponds to the number of supported properties.
    86738673
    8674         The returned arrays are not empty only if the
     8674        The returned arrays are filled in only if the
    86758675        <link to="HardDiskFormatCapabilities_Properties"/> flag is set.
     8676        All arguments must be non-NULL.
    86768677
    86778678        <see>DataType</see>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette