WPD_COMMAND_OBJECT_MANAGEMENT_DELETE_OBJECTS command
Removes a set of objects from the device. If there is an error, the driver should stop deletion immediately and return a list of the remaining, undeleted objects. The error returned would then pertain to the first object in the returned list.
Command category
WPD_CATEGORY_OBJECT_MANAGEMENT
Parameters
Parameters |
---|
The driver expects the following parameters. |
WPD_PROPERTY_OBJECT_MANAGEMENT_DELETE_OPTIONS |
WPD_PROPERTY_OBJECT_MANAGEMENT_OBJECT_IDS |
Return value
Result |
---|
The driver should return the following results. |
WPD_PROPERTY_OBJECT_MANAGEMENT_DELETE_RESULTS |
WPD_PROPERTY_COMMON_HRESULT |
WPD_PROPERTY_COMMON_DRIVER_ERROR_CODE |
Calling methods
IPortableDeviceContent::Delete
Requirements
Header |
PortableDevice.h |
See also