WPD_COMMAND_OBJECT_MANAGEMENT_CREATE_OBJECT_WITH_PROPERTIES_ONLY command
Creates a new object with only properties (that is, no resource data) on a device. For example, folder objects are typically property-only objects. The driver must create the object with the specified property values on the device and return its object ID.
The caller is responsible for setting all required properties for a particular object type. Drivers may fail object creation requests if required properties are missing. However, the driver should implement a "best effort" policy and proceed if any optional properties are missing, and ignore properties it doesn't understand.
Command category
WPD_CATEGORY_OBJECT_MANAGEMENT
Parameters
Parameters |
---|
The driver expects the following parameters. |
WPD_PROPERTY_OBJECT_MANAGEMENT_CREATION_PROPERTIES |
Return value
Result |
---|
The driver should return the following results. |
WPD_PROPERTY_OBJECT_MANAGEMENT_OBJECT_ID |
WPD_PROPERTY_COMMON_HRESULT |
WPD_PROPERTY_COMMON_DRIVER_ERROR_CODE |
Calling methods
IPortableDeviceContent::CreateObjectWithPropertiesOnly
Requirements
Header |
PortableDevice.h |
See also