IPortableDeviceCapabilities::GetSupportedEvents method (portabledeviceapi.h)
The GetSupportedEvents method retrieves the supported events for this device.
HRESULT GetSupportedEvents( IPortableDevicePropVariantCollection **ppEvents );
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.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||At least one of the arguments was a NULL pointer.|