IPortableDeviceCapabilities::GetSupportedEvents
Previous | Next |
IPortableDeviceCapabilities::GetSupportedEvents
The GetSupportedEvents method retrieves the supported events for this device.
Syntax
HRESULT GetSupportedEvents( IPortableDevicePropVariantCollection** ppEvents );
Parameters
ppEvents
[out] Address of a variable that receives a pointer to an IPortableDevicePropVariantCollection interface that lists the supported events. The caller must release this interface when it is done with it.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
E_POINTER | At least one of the arguments was a NULL pointer. |
Requirements
Header: Defined in PortableDeviceApi.h
Library: PortableDeviceGUIDs.lib
See Also
Previous | Next |