IWICBitmapSource_GetPixelFormat_Proxy function

Proxy function for the GetPixelFormat method.

Syntax

HRESULT IWICBitmapSource_GetPixelFormat_Proxy(
  _In_  IWICBitmapSource   *THIS_PTR,
  _Out_ WICPixelFormatGUID *pPixelFormat
);

Parameters

THIS_PTR [in]

Type: IWICBitmapSource*

Pointer to this IWICBitmapSource object.

pPixelFormat [out]

Type: WICPixelFormatGUID*

A pointer that receives the pixel format GUID the bitmap is stored in.

Return value

Type: HRESULT

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

Remarks

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Windowscodecs.dll;
Wincodec.lib