IWICBitmapSource_CopyPixels_Proxy function

Proxy function for the CopyPixels method.

Syntax


HRESULT IWICBitmapSource_CopyPixels_Proxy(
  _In_        IWICBitmapSource *THIS_PTR,
  _In_  const WICRect          *prc,
  _In_        UINT             cbStride,
  _In_        UINT             cbBufferSize,
  _Out_       BYTE             *pbBuffer
);

Parameters

THIS_PTR [in]

Type: IWICBitmapSource*

Pointer to this IWICBitmapSource object.

prc [in]

Type: const WICRect*

The rectangle to copy. A NULL value specifies the entire bitmap.

cbStride [in]

Type: UINT

The stride of the bitmap

cbBufferSize [in]

Type: UINT

The size of the buffer.

pbBuffer [out]

Type: BYTE*

A pointer to the buffer.

Return value

Type: HRESULT

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

Remarks

Requirements

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

 

 

Show: