WPD_COMMAND_OBJECT_RESOURCES_GET_SUPPORTED command

Retrieves a list of resources that an object can support. If the resource is not actually used by the object (for example, if an image object has no thumbnail resource), the driver may still return a resource key; the caller will be responsible for checking for non-zero-sized resources before attempting to use one.

Command category

WPD_CATEGORY_OBJECT_RESOURCES

Parameters

Parameters

The driver expects the following parameters.

WPD_PROPERTY_OBJECT_RESOURCES_OBJECT_ID

Return value

Result

The driver should return the following results.

WPD_PROPERTY_OBJECT_RESOURCES_RESOURCE_KEYS

WPD_PROPERTY_COMMON_HRESULT

WPD_PROPERTY_COMMON_DRIVER_ERROR_CODE

Calling methods

IPortableDeviceResources::GetSupportedResources

Requirements

Header

PortableDevice.h

See also

Requirements for Resources

Commands

 

 

Send comments about this topic to Microsoft