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.

IPortableDeviceServiceCapabilities::GetFormatPropertyAttributes method

The GetFormatPropertyAttributes method retrieves the attributes of a format property.

Syntax


HRESULT STDMETHODCALLTYPE GetFormatPropertyAttributes(
  [in]  REFGUID               Format,
  [in]  REFPROPERTYKEY        Property,
  [out] IPortableDeviceValues **ppAttributes
);

Parameters

Format [in]

The format whose property has its attributes retrieved.

Property [in]

The property 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

A Windows Portable Devices (WPD) driver often treats objects of a given format the same. Many properties will therefore have attributes that are identical across all objects of that format. This method retrieves such attributes.

Note that this method will not retrieve attributes that differ across object instances.

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

 

 

Community Additions

Show:
© 2017 Microsoft