VirtualBox

Changeset 36365 in vbox


Ignore:
Timestamp:
Mar 23, 2011 12:26:45 PM (14 years ago)
Author:
vboxsync
Message:

Main: Fix for parameter handling in setGuestPropertyToVM().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r36275 r36365  
    49944994                                      IN_BSTR aFlags)
    49954995{
     4996    CheckComArgStrNotEmptyOrNull(aName);
     4997    if ((aValue != NULL) && !VALID_PTR(aValue))
     4998        return E_INVALIDARG;
     4999    if ((aFlags != NULL) && !VALID_PTR(aFlags))
     5000        return E_INVALIDARG;
     5001
    49965002    HRESULT rc;
    49975003
     
    50095015                      /** @todo Fix when adding DeleteGuestProperty(),
    50105016                                   see defect. */
    5011                       *aValue ? aValue : NULL, *aFlags ? aFlags : NULL,
     5017                      aValue, aFlags,
    50125018                      true /* isSetter */,
    50135019                      &dummy, &dummy64, &dummy);
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