Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPortableDeviceCapabilities::GetSupportedEvents method

The GetSupportedEvents method retrieves the supported events for this device.

Syntax


HRESULT GetSupportedEvents(
  [out] 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 value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_POINTER

At least one of the arguments was a NULL pointer.

 

Requirements

Header

PortableDeviceApi.h

Library

PortableDeviceGUIDs.lib

See also

IPortableDeviceCapabilities Interface

 

 

Community Additions

Show:
© 2017 Microsoft