Commit 0204ebbc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Move CreateDiscardableBitmap implementation to objects.c.

parent 6b3c811c
......@@ -475,24 +475,6 @@ static INT BITMAP_GetObject( HGDIOBJ handle, INT count, LPVOID buffer )
/******************************************************************************
* CreateDiscardableBitmap [GDI32.@]
*
* Creates a discardable bitmap.
*
* RETURNS
* Success: Handle to bitmap
* Failure: NULL
*/
HBITMAP WINAPI CreateDiscardableBitmap(
HDC hdc, /* [in] Handle to device context */
INT width, /* [in] Bitmap width */
INT height) /* [in] Bitmap height */
{
return CreateCompatibleBitmap( hdc, width, height );
}
/******************************************************************************
* NtGdiGetBitmapDimension (win32u.@)
*
* Retrieves dimensions of a bitmap.
......
......@@ -215,3 +215,13 @@ HBITMAP WINAPI CreateBitmap( INT width, INT height, UINT planes,
return NtGdiCreateBitmap( width, height, planes, bpp, bits );
}
/******************************************************************************
* CreateDiscardableBitmap (GDI32.@)
*
* Creates a discardable bitmap.
*/
HBITMAP WINAPI CreateDiscardableBitmap( HDC hdc, INT width, INT height )
{
return CreateCompatibleBitmap( hdc, width, height );
}
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