IWICBitmapLock_GetDataPointer_STA_Proxy function

Proxy function for the GetDataPointer method.

Syntax

HRESULT IWICBitmapLock_GetDataPointer_STA_Proxy(
  _In_  IWICBitmapLock *THIS_PTR,
  _Out_ UINT           *pcbBufferSize,
  _Out_ BYTE           **ppbData
);

Parameters

THIS_PTR [in]

Type: IWICBitmapLock*

Pointer to this IWICBitmapLock object.

pcbBufferSize [out]

Type: UINT*

A pointer that receives the size of the buffer.

ppbData [out]

Type: BYTE**

A pointer that receives a pointer to the top left pixel in the locked rectangle.

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