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::GetSupportedFormatProperties method

The GetSupportedFormatProperties method retrieves the properties supported by the service for the specified format.

Syntax


HRESULT STDMETHODCALLTYPE GetSupportedFormatProperties(
  [in]  REFGUID                      Format,
  [out] IPortableDeviceKeyCollection **ppKeys
);

Parameters

Format [in]

The format whose properties are retrieved.

ppKeys [out]

The IPortableDeviceKeyCollection interface that receives the list of properties.

Return value

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

Remarks

The retrieved property collection is a superset of all properties supported by an object of the specified format.

An application can also retrieve the properties for an object by calling the IPortableDeviceService::SendCommand method with the WPD_COMMAND_OBJECT_PROPERTIES_GET_SUPPORTED property passed as the command identifier. However, the GetSupportedFormatProperties method is typically faster than the IPortableDeviceService::SendCommand method.

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