Commit 71f7a460 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Stubs for CreateUser(Discardable)Bitmap16.

parent bf5f693f
......@@ -267,8 +267,8 @@ file gdi.exe
403 stub GDIINIT2
404 stub GetTTGlyphIndexMap
405 stub FINALGDIINIT
407 stub CREATEUSERBITMAP
409 stub CREATEUSERDISCARDABLEBITMAP
407 pascal16 CreateUserBitmap(word word word word ptr) CreateUserBitmap16
409 pascal16 CreateUserDiscardableBitmap(word word word) CreateUserDiscardableBitmap16
410 pascal16 IsValidMetaFile (word) IsValidMetaFile
411 pascal16 GetCurLogFont(word) GetCurLogFont
412 pascal16 IsDCCurrentPalette(word) IsDCCurrentPalette
......
......@@ -120,6 +120,26 @@ INT32 BITMAP_GetBitsWidth( int bmWidth, int bpp )
}
/***********************************************************************
* CreateUserBitmap16 (GDI.407)
*/
HBITMAP16 WINAPI CreateUserBitmap16( INT16 width, INT16 height, UINT16 planes,
UINT16 bpp, LPCVOID bits )
{
return CreateBitmap16( width, height, planes, bpp, bits );
}
/***********************************************************************
* CreateUserDiscardableBitmap16 (GDI.409)
*/
HBITMAP16 WINAPI CreateUserDiscardableBitmap16( WORD dummy,
INT16 width, INT16 height )
{
return CreateUserBitmap16( width, height, 1, screenDepth, NULL );
}
/***********************************************************************
* CreateBitmap16 (GDI.48)
*/
HBITMAP16 WINAPI CreateBitmap16( INT16 width, INT16 height, UINT16 planes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment