IWICColorTransform_Initialize_Proxy function
Initializes an IWICColorTransform with a IWICBitmapSource and transforms it from one IWICColorContext to another.
Syntax
HRESULT IWICColorTransform_Initialize_Proxy( _In_ IWICColorTransform *pIColorTransform, _In_ IWICBitmapSource *pIBitmapSource, _In_ IWICColorContext *pIContextSource, _In_ IWICColorContext *pIContextDest, _In_ REFWICPixelFormatGUID pixelFmtDest );
Parameters
- pIColorTransform [in]
-
Type: IWICColorTransform*
The color transform to initialize.
- pIBitmapSource [in]
-
Type: IWICBitmapSource*
The bitmap source used to initialize the color transform.
- pIContextSource [in]
-
Type: IWICColorContext*
The color context source.
- pIContextDest [in]
-
Type: IWICColorContext*
The color context destination.
- pixelFmtDest [in]
-
Type: REFWICPixelFormatGUID
The GUID of the desired pixel format.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
DLL |
|
|---|