Event Constants
Previous | Next |
Event Constants
Windows Portable Devices defines the following event values.
Value | Description |
WPD_EVENT_DEVICE_CAPABILITIES_UPDATED | This event indicates that the device capabilities have changed. Clients should re-query the device if they have made any decisions based on device capabilities. |
WPD_EVENT_DEVICE_REMOVED | This event is sent when a driver for a device is being unloaded. This is typically a result of the device being unplugged.
Clients should release the IPortableDevice interface they have open on the device specified in WPD_EVENT_PARAMETER_PNP_DEVICE_ID. |
WPD_EVENT_DEVICE_RESET | This event indicates that the device is about to be reset, and all connected clients should close their connection to the device. |
WPD_EVENT_OBJECT_ADDED | This event indicates that a new object is available on the device. |
WPD_EVENT_OBJECT_REMOVED | This event is sent after a previously existing object has been removed from the device.
The object could be a content object (for example, an Image file was deleted), or it could be a functional object (for example, a new storage device was unplugged from the device). |
WPD_EVENT_OBJECT_TRANSFER_REQUESTED | This event is sent to request an application to transfer a particular object from the device.
The object is usually a content object (for example, an image file). |
WPD_EVENT_OBJECT_UPDATED | This event is sent after an object has been updated, so that any connected client should refresh its view of that object. |
WPD_EVENT_STORAGE_FORMAT | This event indicates the progress of a format operation on a storage object. |
Requirements
Header: Defined in PortableDevice.h
See Also
Previous | Next |