IWICImagingFactory_CreateBitmapFromMemory_Proxy function
Proxy function for the CreateBitmapFromMemory method.
Syntax
HRESULT IWICImagingFactory_CreateBitmapFromMemory_Proxy(
_In_ IWICImagingFactory *pFactory,
_In_ UINT uiWidth,
_In_ UINT uiHeight,
_In_ REFWICPixelFormatGUID pixelFormat,
_In_ UINT cbStride,
_In_ UINT cbBufferSize,
_In_ BYTE *pbBuffer,
_Out_ IWICBitmap **ppIBitmap
);
Parameters
-
pFactory [in]
-
Type: IWICImagingFactory*
-
uiWidth [in]
-
Type: UINT
The width of the new bitmap.
-
uiHeight [in]
-
Type: UINT
The height of the new bitmap.
-
pixelFormat [in]
-
Type: REFWICPixelFormatGUID
The pixel format of the new bitmap.
-
cbStride [in]
-
Type: UINT
The stride of the given pixel data.
-
cbBufferSize [in]
-
Type: UINT
The size of pbBuffer.
-
pbBuffer [in]
-
Type: BYTE*
The buffer used to create the bitmap.
-
ppIBitmap [out]
-
Type: IWICBitmap**
A pointer that receives a pointer to the new bitmap.
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 |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for