IPortableDeviceServiceCapabilities::GetEventParameterAttributes method

The GetEventParameterAttributes method retrieves the attributes of an event parameter.

Syntax


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

Parameters

Parameter [in]

The parameter whose attributes are retrieved.

ppAttributes [out]

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

IPortableDeviceServiceCapabilities Interface
Retrieving Supported Service Events

 

 

Community Additions

ADD
Show: