Jacek Caban : gdi32: Make CreateDIBSection hotpatchable.
Alexandre Julliard
julliard at winehq.org
Fri Jul 15 09:07:04 CDT 2016
Module: wine
Branch: master
Commit: 585f6074b0650d2bde9e3acc7d40c553223ee543
URL: http://source.winehq.org/git/wine.git/?a=commit;h=585f6074b0650d2bde9e3acc7d40c553223ee543
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jul 14 15:29:37 2016 +0200
gdi32: Make CreateDIBSection hotpatchable.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/dib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/dib.c b/dlls/gdi32/dib.c
index c3009a2..fbeeb5b 100644
--- a/dlls/gdi32/dib.c
+++ b/dlls/gdi32/dib.c
@@ -1478,8 +1478,8 @@ HBITMAP WINAPI CreateDIBitmap( HDC hdc, const BITMAPINFOHEADER *header,
/***********************************************************************
* CreateDIBSection (GDI32.@)
*/
-HBITMAP WINAPI CreateDIBSection(HDC hdc, const BITMAPINFO *bmi, UINT usage,
- VOID **bits, HANDLE section, DWORD offset)
+HBITMAP WINAPI DECLSPEC_HOTPATCH CreateDIBSection(HDC hdc, const BITMAPINFO *bmi, UINT usage,
+ void **bits, HANDLE section, DWORD offset)
{
char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
BITMAPINFO *info = (BITMAPINFO *)buffer;
More information about the wine-cvs
mailing list