VirtualBox

Changeset 42442 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jul 27, 2012 4:47:04 PM (12 years ago)
Author:
vboxsync
Message:

Elinate use of NULL object references in the API - 6124

File:
1 edited

Legend:

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

    r42383 r42442  
    43504350}
    43514351
     4352STDMETHODIMP Machine::UnmountMedium(IN_BSTR aControllerName,
     4353                                    LONG    aControllerPort,
     4354                                    LONG    aDevice,
     4355                                    BOOL    aForce)
     4356{
     4357     int rc = S_OK;
     4358     LogFlowThisFunc(("aControllerName=\"%ls\" aControllerPort=%d aDevice=%d",
     4359                      aControllerName, aControllerPort, aForce));
     4360
     4361     rc = MountMedium(aControllerName, aControllerPort, aDevice, NULL, aForce);
     4362
     4363     return rc;
     4364}
    43524365
    43534366STDMETHODIMP Machine::MountMedium(IN_BSTR aControllerName,
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