IPortableDeviceServiceCapabilities::GetSupportedEvents method (portabledeviceapi.h)

The GetSupportedEvents method retrieves the events supported by the service.

Syntax

HRESULT GetSupportedEvents(
  [out] IPortableDevicePropVariantCollection **ppEvents
);

Parameters

[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.

Requirements

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

See also

IPortableDeviceServiceCapabilities Interface