Export (0) Print
Expand All
Expand Minimize

IWICPixelFormatInfo_GetChannelMask_Proxy function

Proxy function for the GetChannelMask method.

Syntax


HRESULT IWICPixelFormatInfo_GetChannelMask_Proxy(
  _In_     IWICPixelFormatInfo *THIS_PTR,
  _In_     UINT uiChannelIndex,
  _In_     UINT cbMaskBuffer,
  _Inout_  BYTE *pbMaskBuffer,
  _Out_    UINT *pcbActual
);

Parameters

THIS_PTR [in]

Type: IWICPixelFormatInfo*

Pointer to this IWICPixelFormatInfo object.

uiChannelIndex [in]

Type: UINT

The index to the channel mask to retrieve.

cbMaskBuffer [in]

Type: UINT

The size of the pbMaskBuffer buffer.

pbMaskBuffer [in, out]

Type: BYTE*

Pointer to the mask buffer.

pcbActual [out]

Type: UINT*

The actual buffer size needed to obtain the channel mask.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft