Skip to content

Latest commit

 

History

History
136 lines (104 loc) · 4.13 KB

nf-wincodec-iwicimagingfactory-createbitmap.md

File metadata and controls

136 lines (104 loc) · 4.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wincodec.IWICImagingFactory.CreateBitmap
IWICImagingFactory::CreateBitmap (wincodec.h)
Creates an IWICBitmap object.
CreateBitmap
CreateBitmap method [Windows Imaging Component]
CreateBitmap method [Windows Imaging Component]
IWICImagingFactory interface
IWICImagingFactory interface [Windows Imaging Component]
CreateBitmap method
IWICImagingFactory.CreateBitmap
IWICImagingFactory::CreateBitmap
WICBitmapCacheOnDemand
WICBitmapCacheOnLoad
WICBitmapNoCache
_wic_codec_iwicimagingfactory_createbitmap
wic._wic_codec_iwicimagingfactory_createbitmap
wincodec/IWICImagingFactory::CreateBitmap
wic\_wic_codec_iwicimagingfactory_createbitmap.htm
wic
76741d1e-3e1b-4018-b092-b668ecfd43c9
12/05/2018
CreateBitmap, CreateBitmap method [Windows Imaging Component], CreateBitmap method [Windows Imaging Component],IWICImagingFactory interface, IWICImagingFactory interface [Windows Imaging Component],CreateBitmap method, IWICImagingFactory.CreateBitmap, IWICImagingFactory::CreateBitmap, WICBitmapCacheOnDemand, WICBitmapCacheOnLoad, WICBitmapNoCache, _wic_codec_iwicimagingfactory_createbitmap, wic._wic_codec_iwicimagingfactory_createbitmap, wincodec/IWICImagingFactory::CreateBitmap
wincodec.h
Windows
Windows XP with SP2, Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Wincodec.idl
Windowscodecs.lib
Windowscodecs.dll
Windows
19H1
IWICImagingFactory::CreateBitmap
wincodec/IWICImagingFactory::CreateBitmap
c++
APIRef
kbSyntax
COM
Windowscodecs.dll
IWICImagingFactory.CreateBitmap

IWICImagingFactory::CreateBitmap

-description

Creates an IWICBitmap object.

-parameters

-param uiWidth [in]

Type: UINT

The width of the new bitmap .

-param uiHeight [in]

Type: UINT

The height of the new bitmap.

-param pixelFormat [in]

Type: REFWICPixelFormatGUID

The pixel format of the new bitmap.

-param option [in]

Type: WICBitmapCreateCacheOption

The cache creation options of the new bitmap. This can be one of the values in the WICBitmapCreateCacheOption enumeration.

Value Meaning
WICBitmapCacheOnDemand
Allocates system memory for the bitmap at initialization.
WICBitmapCacheOnLoad
Allocates system memory for the bitmap when the bitmap is first used.
WICBitmapNoCache
This option is not valid for this method and should not be used.

-param ppIBitmap [out]

Type: IWICBitmap**

A pointer that receives a pointer to the new bitmap.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IWICImagingFactory

Native Pixel Formats