Commit 6b3c811c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use ntgdi names for bitmap functions.

parent 270f7bed
...@@ -176,7 +176,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes, ...@@ -176,7 +176,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes,
} }
if (bits) if (bits)
SetBitmapBits( hbitmap, height * bmpobj->dib.dsBm.bmWidthBytes, bits ); NtGdiSetBitmapBits( hbitmap, height * bmpobj->dib.dsBm.bmWidthBytes, bits );
TRACE("%dx%d, bpp %d planes %d: returning %p\n", width, height, bpp, planes, hbitmap); TRACE("%dx%d, bpp %d planes %d: returning %p\n", width, height, bpp, planes, hbitmap);
return hbitmap; return hbitmap;
...@@ -184,7 +184,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes, ...@@ -184,7 +184,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes,
/*********************************************************************** /***********************************************************************
* GetBitmapBits [GDI32.@] * NtGdiGetBitmapBits (win32u.@)
* *
* Copies bitmap bits of bitmap to buffer. * Copies bitmap bits of bitmap to buffer.
* *
...@@ -192,7 +192,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes, ...@@ -192,7 +192,7 @@ HBITMAP WINAPI NtGdiCreateBitmap( INT width, INT height, UINT planes,
* Success: Number of bytes copied * Success: Number of bytes copied
* Failure: 0 * Failure: 0
*/ */
LONG WINAPI GetBitmapBits( LONG WINAPI NtGdiGetBitmapBits(
HBITMAP hbitmap, /* [in] Handle to bitmap */ HBITMAP hbitmap, /* [in] Handle to bitmap */
LONG count, /* [in] Number of bytes to copy */ LONG count, /* [in] Number of bytes to copy */
LPVOID bits) /* [out] Pointer to buffer to receive bits */ LPVOID bits) /* [out] Pointer to buffer to receive bits */
...@@ -253,7 +253,7 @@ done: ...@@ -253,7 +253,7 @@ done:
/****************************************************************************** /******************************************************************************
* SetBitmapBits [GDI32.@] * NtGdiSetBitmapBits (win32u.@)
* *
* Sets bits of color data for a bitmap. * Sets bits of color data for a bitmap.
* *
...@@ -261,7 +261,7 @@ done: ...@@ -261,7 +261,7 @@ done:
* Success: Number of bytes used in setting the bitmap bits * Success: Number of bytes used in setting the bitmap bits
* Failure: 0 * Failure: 0
*/ */
LONG WINAPI SetBitmapBits( LONG WINAPI NtGdiSetBitmapBits(
HBITMAP hbitmap, /* [in] Handle to bitmap */ HBITMAP hbitmap, /* [in] Handle to bitmap */
LONG count, /* [in] Number of bytes in bitmap array */ LONG count, /* [in] Number of bytes in bitmap array */
LPCVOID bits) /* [in] Address of array with bitmap bits */ LPCVOID bits) /* [in] Address of array with bitmap bits */
...@@ -493,7 +493,7 @@ HBITMAP WINAPI CreateDiscardableBitmap( ...@@ -493,7 +493,7 @@ HBITMAP WINAPI CreateDiscardableBitmap(
/****************************************************************************** /******************************************************************************
* GetBitmapDimensionEx [GDI32.@] * NtGdiGetBitmapDimension (win32u.@)
* *
* Retrieves dimensions of a bitmap. * Retrieves dimensions of a bitmap.
* *
...@@ -501,7 +501,7 @@ HBITMAP WINAPI CreateDiscardableBitmap( ...@@ -501,7 +501,7 @@ HBITMAP WINAPI CreateDiscardableBitmap(
* Success: TRUE * Success: TRUE
* Failure: FALSE * Failure: FALSE
*/ */
BOOL WINAPI GetBitmapDimensionEx( BOOL WINAPI NtGdiGetBitmapDimension(
HBITMAP hbitmap, /* [in] Handle to bitmap */ HBITMAP hbitmap, /* [in] Handle to bitmap */
LPSIZE size) /* [out] Address of struct receiving dimensions */ LPSIZE size) /* [out] Address of struct receiving dimensions */
{ {
...@@ -514,7 +514,7 @@ BOOL WINAPI GetBitmapDimensionEx( ...@@ -514,7 +514,7 @@ BOOL WINAPI GetBitmapDimensionEx(
/****************************************************************************** /******************************************************************************
* SetBitmapDimensionEx [GDI32.@] * NtGdiSetBitmapDimension (win32u.@)
* *
* Assigns dimensions to a bitmap. * Assigns dimensions to a bitmap.
* MSDN says that this function will fail if hbitmap is a handle created by * MSDN says that this function will fail if hbitmap is a handle created by
...@@ -524,7 +524,7 @@ BOOL WINAPI GetBitmapDimensionEx( ...@@ -524,7 +524,7 @@ BOOL WINAPI GetBitmapDimensionEx(
* Success: TRUE * Success: TRUE
* Failure: FALSE * Failure: FALSE
*/ */
BOOL WINAPI SetBitmapDimensionEx( BOOL WINAPI NtGdiSetBitmapDimension(
HBITMAP hbitmap, /* [in] Handle to bitmap */ HBITMAP hbitmap, /* [in] Handle to bitmap */
INT x, /* [in] Bitmap width */ INT x, /* [in] Bitmap width */
INT y, /* [in] Bitmap height */ INT y, /* [in] Bitmap height */
......
...@@ -240,8 +240,8 @@ ...@@ -240,8 +240,8 @@
@ stdcall GetArcDirection(long) @ stdcall GetArcDirection(long)
@ stdcall GetAspectRatioFilterEx(long ptr) @ stdcall GetAspectRatioFilterEx(long ptr)
# @ stub GetBitmapAttributes # @ stub GetBitmapAttributes
@ stdcall GetBitmapBits(long long ptr) @ stdcall GetBitmapBits(long long ptr) NtGdiGetBitmapBits
@ stdcall GetBitmapDimensionEx(long ptr) @ stdcall GetBitmapDimensionEx(long ptr) NtGdiGetBitmapDimension
@ stdcall GetBkColor(long) @ stdcall GetBkColor(long)
@ stdcall GetBkMode(long) @ stdcall GetBkMode(long)
@ stdcall GetBoundsRect(long ptr long) @ stdcall GetBoundsRect(long ptr long)
...@@ -474,8 +474,8 @@ ...@@ -474,8 +474,8 @@
@ stdcall SetAbortProc(long ptr) @ stdcall SetAbortProc(long ptr)
@ stdcall SetArcDirection(long long) @ stdcall SetArcDirection(long long)
# @ stub SetBitmapAttributes # @ stub SetBitmapAttributes
@ stdcall SetBitmapBits(long long ptr) @ stdcall SetBitmapBits(long long ptr) NtGdiSetBitmapBits
@ stdcall SetBitmapDimensionEx(long long long ptr) @ stdcall SetBitmapDimensionEx(long long long ptr) NtGdiSetBitmapDimension
@ stdcall SetBkColor(long long) @ stdcall SetBkColor(long long)
@ stdcall SetBkMode(long long) @ stdcall SetBkMode(long long)
@ stdcall SetBoundsRect(long ptr long) @ stdcall SetBoundsRect(long ptr long)
......
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