A->W fixes
Dimitrie O. Paun
dpaun at rogers.com
Tue Sep 14 15:51:02 CDT 2004
A few trivial fixes.
ChangeLog
Use the W version of the function were we can.
Index: dlls/user/message.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/message.c,v
retrieving revision 1.50
diff -u -r1.50 message.c
--- dlls/user/message.c 1 Sep 2004 22:47:48 -0000 1.50
+++ dlls/user/message.c 13 Sep 2004 04:52:49 -0000
@@ -2281,7 +2281,7 @@
/* need to fill the window handle for WM_PAINT message */
if (msg.message == WM_PAINT)
{
- if (IsIconic( msg.hwnd ) && GetClassLongA( msg.hwnd, GCL_HICON ))
+ if (IsIconic( msg.hwnd ) && GetClassLongW( msg.hwnd, GCL_HICON ))
{
msg.message = WM_PAINTICON;
msg.wParam = 1;
Index: windows/cursoricon.c
===================================================================
RCS file: /var/cvs/wine/windows/cursoricon.c,v
retrieving revision 1.73
diff -u -r1.73 cursoricon.c
--- windows/cursoricon.c 13 Sep 2004 19:37:03 -0000 1.73
+++ windows/cursoricon.c 14 Sep 2004 03:45:09 -0000
@@ -127,7 +127,7 @@
OPEN_EXISTING, FILE_FLAG_RANDOM_ACCESS, 0 );
if (hFile != INVALID_HANDLE_VALUE)
{
- hMapping = CreateFileMappingA( hFile, NULL, PAGE_READONLY, 0, 0, NULL );
+ hMapping = CreateFileMappingW( hFile, NULL, PAGE_READONLY, 0, 0, NULL );
CloseHandle( hFile );
if (hMapping)
{
Index: windows/winproc.c
===================================================================
RCS file: /var/cvs/wine/windows/winproc.c,v
retrieving revision 1.118
diff -u -r1.118 winproc.c
--- windows/winproc.c 31 Aug 2004 00:02:02 -0000 1.118
+++ windows/winproc.c 13 Sep 2004 04:49:56 -0000
@@ -777,7 +777,7 @@
xs->lpszClass = xs->cs.lpszClass = usBuffer.Buffer;
}
- if (GetWindowLongA(hwnd, GWL_EXSTYLE) & WS_EX_MDICHILD)
+ if (GetWindowLongW(hwnd, GWL_EXSTYLE) & WS_EX_MDICHILD)
{
MDICREATESTRUCTW *mdi_cs = (MDICREATESTRUCTW *)HeapAlloc(GetProcessHeap(), 0,
sizeof(*mdi_cs));
@@ -962,7 +962,7 @@
if (xs->lpszName) HeapFree( GetProcessHeap(), 0, xs->lpszName );
if (xs->lpszClass) HeapFree( GetProcessHeap(), 0, xs->lpszClass );
- if (GetWindowLongA(hwnd, GWL_EXSTYLE) & WS_EX_MDICHILD)
+ if (GetWindowLongW(hwnd, GWL_EXSTYLE) & WS_EX_MDICHILD)
{
MDICREATESTRUCTW *mdi_cs = (MDICREATESTRUCTW *)xs->cs.lpCreateParams;
if (HIWORD(mdi_cs->szTitle))
More information about the wine-patches
mailing list