VirtualBox

Changeset 15152 in vbox


Ignore:
Timestamp:
Dec 9, 2008 10:43:07 AM (16 years ago)
Author:
vboxsync
Message:

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

  • IGuest::setCredentials
  • IGuest::getStatistic
Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r15051 r15152  
    277277
    278278        vmmDev->getVMMDevPort()->pfnSetCredentials(vmmDev->getVMMDevPort(),
    279                                                    Utf8Str(aUserName).raw(), Utf8Str(aPassword).raw(),
    280                                                    Utf8Str(aDomain).raw(), u32Flags);
     279            Utf8Str(aUserName).raw(), Utf8Str(aPassword).raw(),
     280            Utf8Str(aDomain).raw(), u32Flags);
    281281        return S_OK;
    282282    }
    283283
    284     return setError (E_FAIL,
     284    return setError (VBOX_E_VM_ERROR,
    285285        tr ("VMM device is not available (is the VM running?)"));
    286286}
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r15145 r15152  
    65156515        that the caller cannot determine whether the guest operating system
    65166516        has queried or made use of the credentials.
     6517
     6518        <result name="VBOX_E_VM_ERROR">
     6519          VMM device is not available.
     6520        </result>
     6521
    65176522      </desc>
    65186523      <param name="userName" type="wstring" dir="in">
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