IWICColorContext_InitializeFromMemory_Proxy function

Proxy function for the InitializeFromMemory method.

Syntax

HRESULT IWICColorContext_InitializeFromMemory_Proxy(
  _In_       IWICColorContext *THIS_PTR,
  _In_ const BYTE             *pbBuffer,
  _In_       UINT             cbBufferSize
);

Parameters

THIS_PTR [in]

Type: IWICColorContext*

pbBuffer [in]

Type: const BYTE*

The buffer used to initialize the IWICColorContext.

cbBufferSize [in]

Type: UINT

The size of the pbBuffer buffer.

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