IPortableDeviceServiceCapabilities::GetSupportedFormats method

The GetSupportedFormats method retrieves the formats supported by the service.

Syntax


HRESULT STDMETHODCALLTYPE GetSupportedFormats(
  [out] IPortableDevicePropVariantCollection **ppFormats
);

Parameters

ppFormats [out]

The IPortableDevicePropVariantCollection interface that receives the list of formats.

Return value

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

Examples

For an example of how to use this method, see Retrieving Supported Service Formats.

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 Formats

 

 

Community Additions

ADD
Show: