WPD_RESOURCE_GENERIC

Specifies a resource type not otherwise defined by Windows Portable Devices. You can define your own custom resources that support any custom or Windows Portable Devices-defined attributes. However, any resource you create must support the following attributes.

Attribute Name Required or Optional
WPD_RESOURCE_ATTRIBUTE_TOTAL_SIZE Required.
WPD_RESOURCE_ATTRIBUTE_CAN_READ Required if clients can read this resource.
WPD_RESOURCE_ATTRIBUTE_CAN_WRITE Required if clients can write to this resource.
WPD_RESOURCE_ATTRIBUTE_CAN_DELETE Required if clients can delete this resource.
WPD_RESOURCE_ATTRIBUTE_OPTIMAL_READ_BUFFER_SIZE Required if clients have read access to the resource.
WPD_RESOURCE_ATTRIBUTE_OPTIMAL_WRITE_BUFFER_SIZE Required if clients have write access to the resource.
WPD_RESOURCE_ATTRIBUTE_FORMAT Required.
WPD_RESOURCE_ATTRIBUTE_RESOURCE_KEY Recommended.

 

See also

Requirements for Resources