Bitmap::Bitmap(HINSTANCE,constWCHAR*) method (gdiplusheaders.h)
Creates a Bitmap::Bitmap object based on an application or DLL instance handle and the name of a bitmap resource.
Syntax
void Bitmap(
[in] HINSTANCE hInstance,
[in] const WCHAR *bitmapName
);
Parameters
[in] hInstance
Type: HINSTANCE
Handle to an instance of a module whose executable file contains a bitmap resource.
[in] bitmapName
Type: const WCHAR*
Pointer to a null-terminated string that specifies the path name of the bitmap resource to be loaded. Alternatively, this parameter can consist of the resource identifier in the low-order word and zero in the high-order word. You can use the MAKEINTRESOURCE macro to create this value.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplusheaders.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |