IPortableDeviceServiceCapabilities::GetSupportedEvents method (portabledeviceapi.h)

The GetSupportedEvents method retrieves the events supported by the service.


HRESULT GetSupportedEvents(
  [out] IPortableDevicePropVariantCollection **ppEvents


[out] ppEvents

The IPortableDevicePropVariantCollection interface that receives the list of events.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.


Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header portabledeviceapi.h

See also

IPortableDeviceServiceCapabilities Interface