WPD_COMMAND_SERVICE_CAPABILITIES_GET_EVENT_ATTRIBUTES command

The WPD_COMMAND_SERVICE_CAPABILITIES_GET_EVENT_ATTRIBUTES command returns the attributes for a specified event that a given device service supports, such as the event name, parameters, and whether the event corresponds to an action or a notification.

Command category

WPD_COMMAND_SERVICE_CAPABILITIES

Parameters

Parameters

The driver expects the following parameters.

WPD_PROPERTY_SERVICE_CAPABILITIES_EVENT

Return value

Result

The driver should return the following results.

WPD_PROPERTY_SERVICE_CAPABILITIES_EVENT_ATTRIBUTES

Remarks

Event attributes include event options (such as whether WPD_EVENT_OPTION_IS_BROADCAST_EVENT is true, which indicates that the event is broadcast to all clients).

WPD invokes this command when an application calls the IPortableDeviceServiceCapabilities::GetEventAttributes method.

Requirements

Header

PortableDevice.h

See also

Commands

 

 

Send comments about this topic to Microsoft