Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap.
Syntax
HRESULT CreateBitmapFromWicBitmap(
[in] IWICBitmapSource *wicBitmapSource,
[out] ID2D1Bitmap1 **bitmap
);
Parameters
[in] wicBitmapSource
Type: IWICBitmapSource*
The WIC bitmap to copy.
[out] bitmap
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d2d1_1.h (include D2d1_1.h) |
| Library | D2d1_3.lib |
| DLL | D2d1_3.dll |