IMILBitmapEffectConnectorInfo::GetFormat method (mileffects.h)

Retrieves the pixel format for the given pin.

Syntax

HRESULT GetFormat(
  [in]          ULONG              ulIndex,
  [out, retval] WICPixelFormatGUID *pFormat
);

Parameters

[in] ulIndex

Type: ULONG

A zero based index value indicating the pin to retrieve the pixel format.

[out, retval] pFormat

Type: WICPixelFormatGUID*

When this method returns, contains the pixel format of the given pin.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mileffects.h
Redistributable Microsoft .Net 3.0