CreateBitmapFromWicBitmap::CreateBitmapFromWicBitmap method
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap.
Syntax
HRESULT CreateBitmapFromWicBitmap(
[in] IWICBitmapSource *wicBitmapSource,
[out] ID2D1Bitmap1 **bitmap
);
Parameters
- wicBitmapSource [in]
-
Type: IWICBitmapSource*
The WIC bitmap to copy.
- bitmap [out]
-
Type: ID2D1Bitmap1**
When this method returns, contains a pointer to a pointer to the new bitmap. This parameter is passed uninitialized.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: