IPortableDeviceServiceCapabilities::GetEventParameterAttributes method (portabledeviceapi.h)

The GetEventParameterAttributes method retrieves the attributes of an event parameter.

Syntax

HRESULT GetEventParameterAttributes(
        REFGUID               Event,
  [in]  REFPROPERTYKEY        Parameter,
  [out] IPortableDeviceValues **ppAttributes
);

Parameters

Event

The event that contains the parameter whose attributes are retrieved.

[in] Parameter

The parameter whose attributes are retrieved.

[out] ppAttributes

The IPortableDeviceValues interface that receives the list of attributes.

Return value

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

Remarks

Possible attribute values include the WPD_PARAMETER_ATTRIBUTE_VARTYPE and WPD_PARAMETER_ATTRIBUTE_FORM properties.

Examples

For an example of how to use this method, see Retrieving Supported Service Events.

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

Retrieving Supported Service Events