Description
Creates
a Bitmap object based on an application or dynamic-link library (DLL)
instance handle and the name of a bitmap resource.
Syntax
GpStatus WINGDIPAPI GdipCreateBitmapFromResource(
HINSTANCE hInstance,
GDIPCONST WCHAR* lpBitmapName,
GpBitmap** bitmap
);
PowerBASIC Syntax
DECLARE FUNCTION GdipCreateBitmapFromResource ( _
BYVAL hInstance AS DWORD, _
BYVAL lpBitmapName AS STRING, _
BYREF pbitmap AS DWORD _
) AS LONG
Parameters
hInstance
[in]
Handle to an instance of a module whose executable file contains a bitmap
resource.
bitmapName
[in]
Pointer to a null-terminated unicode 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.
bitmap
[out]
Pointer to a DWORD variable that recives a pointer to a Bitmap object.
|