IWICBitmapFrameEncode_WriteSource_Proxy function

Proxy function for the WriteSource method.

Syntax

HRESULT IWICBitmapFrameEncode_WriteSource_Proxy(
  _In_ IWICBitmapFrameEncode *THIS_PTR,
  _In_ IWICBitmapSource      *pIBitmapSource,
  _In_ WICRect               *prc
);

Parameters

THIS_PTR [in]

Type: IWICBitmapFrameEncode*

Pointer to this IWICBitmapFrameEncode object.

pIBitmapSource [in]

Type: IWICBitmapSource*

The bitmap source to encode.

prc [in]

Type: WICRect*

The size rectangle of the bitmap source.

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