WPD_COMMAND_CAPABILITIES_GET_FUNCTIONAL_OBJECTS command
Retrieves object IDs for the functional objects of a specific category on a device. This is usually a fast operation, because devices usually support few functional objects. This is a more efficient way for clients to get functional objects from a device than enumerating all objects and querying each object's type.
Command category
WPD_CATEGORY_CAPABILITIES
Parameters
Parameters |
---|
The driver expects the following parameters. |
WPD_PROPERTY_CAPABILITIES_FUNCTIONAL_CATEGORY |
Return value
Result |
---|
The driver should return the following results. |
WPD_PROPERTY_CAPABILITIES_FUNCTIONAL_OBJECTS |
WPD_PROPERTY_COMMON_HRESULT |
WPD_PROPERTY_COMMON_DRIVER_ERROR_CODE |
Calling methods
IPortableDeviceCapabilities::GetFunctionalObjects
Requirements
Header |
PortableDevice.h |
See also