WPD_RESOURCE_CONTACT_PHOTO

Specifies an image that represents a photo of the individual referred to in the contact object.

This type of resource must support the following attributes.

Attribute Name Required or Optional
WPD_MEDIA_WIDTH Required.
WPD_MEDIA_HEIGHT Required.
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