IPortableDeviceCapabilities::GetEventOptions method (portabledeviceapi.h)
The GetEventOptions method retrieves all the supported options for the specified event on the device.
Syntax
HRESULT GetEventOptions(
[in] REFGUID Event,
[out] IPortableDeviceValues **ppOptions
);
Parameters
[in] Event
A REFGUID that specifies a event to query for supported options. For a list of the events that are defined by Windows Portable Devices, see Events.
[out] ppOptions
Address of a variable that receives a pointer to an IPortableDeviceValues interface that contains the supported options. If no options are supported, this will not contain any values. 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 code | Description |
---|---|
|
The method succeeded. |
|
At least one of the arguments was a NULL pointer. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portabledeviceapi.h |
Library | PortableDeviceGUIDs.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for