WICSetEncoderFormat_Proxy function
Proxy function for negotiating the pixel format and the palette for the encoder.
Syntax
HRESULT WICSetEncoderFormat_Proxy( _In_ IWICBitmapSource *pSourceIn, _In_ IWICPalette *pIPalette, _In_ IWICBitmapFrameEncode *pIFrameEncode, _Out_ IWICBitmapSource **ppSourceOut );
Parameters
- pSourceIn [in]
-
Type: IWICBitmapSource*
Pointer to the source bitmap.
- pIPalette [in]
-
Type: IWICPalette*
Pointer to the palette to use for encoding.
- pIFrameEncode [in]
-
Type: IWICBitmapFrameEncode*
Pointer to the frame encode object.
- ppSourceOut [out]
-
Type: IWICBitmapSource**
Pointer that receives a pointer to the output source.
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 |
|