Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetFormatAttributes method retrieves the attributes of a format.
Syntax
HRESULT GetFormatAttributes(
[in] REFGUID Format,
[out] IPortableDeviceValues **ppAttributes
);
Parameters
[in] Format
The format 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
WPD_FORMAT_ATTRIBUTE_NAME is an example of a commonly retrieved attribute.
Examples
For an example of how to use this method, see Retrieving Supported Service Formats.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | portabledeviceapi.h |