Stubs for CreateUser(Discardable)Bitmap16.

This commit is contained in:
Ulrich Weigand 1998-10-11 19:13:52 +00:00 committed by Alexandre Julliard
parent bf5f693ff9
commit 71f7a4603e
2 changed files with 22 additions and 2 deletions

View File

@ -267,8 +267,8 @@ file gdi.exe
403 stub GDIINIT2 403 stub GDIINIT2
404 stub GetTTGlyphIndexMap 404 stub GetTTGlyphIndexMap
405 stub FINALGDIINIT 405 stub FINALGDIINIT
407 stub CREATEUSERBITMAP 407 pascal16 CreateUserBitmap(word word word word ptr) CreateUserBitmap16
409 stub CREATEUSERDISCARDABLEBITMAP 409 pascal16 CreateUserDiscardableBitmap(word word word) CreateUserDiscardableBitmap16
410 pascal16 IsValidMetaFile (word) IsValidMetaFile 410 pascal16 IsValidMetaFile (word) IsValidMetaFile
411 pascal16 GetCurLogFont(word) GetCurLogFont 411 pascal16 GetCurLogFont(word) GetCurLogFont
412 pascal16 IsDCCurrentPalette(word) IsDCCurrentPalette 412 pascal16 IsDCCurrentPalette(word) IsDCCurrentPalette

View File

@ -119,6 +119,26 @@ INT32 BITMAP_GetBitsWidth( int bmWidth, int bpp )
return -1; return -1;
} }
/***********************************************************************
* 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) * CreateBitmap16 (GDI.48)
*/ */