IPortableDeviceServiceCapabilities::GetSupportedMethodsByFormat method (portabledeviceapi.h)

The GetSupportedMethodsByFormat method retrieves the methods supported by the service for the specified format.

Syntax

HRESULT GetSupportedMethodsByFormat(
  [in]  REFGUID                              Format,
  [out] IPortableDevicePropVariantCollection **ppMethods
);

Parameters

[in] Format

The format whose supported methods are retrieved.

[out] ppMethods

The IPortableDevicePropVariantCollection interface that receives the list of methods.

Return value

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

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