Changeset 1606 for trunk/src/user32
- Timestamp:
- Nov 5, 1999, 10:17:27 AM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/loadres.cpp
r1592 r1606 1 /* $Id: loadres.cpp,v 1.1 2 1999-11-04 13:02:49 phallerExp $ */1 /* $Id: loadres.cpp,v 1.13 1999-11-05 09:16:21 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 if(winres == NULL) { 35 35 dprintf(("LoadStringA NOT FOUND from %X, id %d buffersize %d\n", hinst, wID, cchBuffer)); 36 //TODO: BAD HACK! 37 if(cchBuffer > 3) 38 { 39 strcpy(lpBuffer, "XXX"); 40 return 3; 41 } 42 //TODO: BAD HACK! 36 43 *lpBuffer = 0; 37 44 return 0; -
trunk/src/user32/oslibmsg.cpp
r1504 r1606 1 /* $Id: oslibmsg.cpp,v 1. 6 1999-10-28 22:41:00sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.7 1999-11-05 09:16:22 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 145 145 } 146 146 147 if(msg >= WIN32APP_USERMSGBASE) 148 return msg - WIN32APP_USERMSGBASE; 149 147 150 for(int i=0;i<MAX_MSGTRANSTAB;i++) 148 151 { -
trunk/src/user32/win32class.cpp
r1540 r1606 1 /* $Id: win32class.cpp,v 1. 5 1999-11-01 19:11:42 sandervl Exp $ */1 /* $Id: win32class.cpp,v 1.6 1999-11-05 09:16:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 158 158 } 159 159 if(fUnicode) { 160 return (lstrcmpW(classNameW, (LPWSTR)classname) == 0); 161 } 162 else return (strcmp(classNameA, classname) == 0); 160 if(classNameW) 161 return (lstrcmpW(classNameW, (LPWSTR)classname) == 0); 162 return FALSE; 163 } 164 else { 165 if(classNameA) 166 return (strcmp(classNameA, classname) == 0); 167 return FALSE; 168 } 163 169 } 164 170 //****************************************************************************** … … 177 183 if(HIWORD(id) != 0) { 178 184 //CB: read comment below! 179 if( stricmp(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) {185 if(lstrcmpiA(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) { 180 186 leaveMutex(OBJTYPE_CLASS); 181 187 return(wndclass); … … 184 190 wndclass = (Win32WndClass *)wndclass->GetNext(); 185 191 while(wndclass != NULL) { 186 if( stricmp(wndclass->classNameA, id) == 0)192 if(lstrcmpiA(wndclass->classNameA, id) == 0) 187 193 { 188 194 //SvL: According to Wine, if the instance handle is the one of the main exe, everything is ok -
trunk/src/user32/win32wbase.cpp
r1583 r1606 1 /* $Id: win32wbase.cpp,v 1.7 5 1999-11-03 22:04:22 cbratschiExp $ */1 /* $Id: win32wbase.cpp,v 1.76 1999-11-05 09:16:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2486 2486 BOOL Win32BaseWindow::hasWindowName(LPSTR wndname, BOOL fUnicode) 2487 2487 { 2488 if(wndname == NULL) 2489 return FALSE; 2490 2488 2491 if(fUnicode) { 2489 2492 return (lstrcmpW(windowNameW, (LPWSTR)wndname) == 0); -
trunk/src/user32/window.cpp
r1540 r1606 1 /* $Id: window.cpp,v 1.3 2 1999-11-01 19:11:45sandervl Exp $ */1 /* $Id: window.cpp,v 1.33 1999-11-05 09:16:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 1423 1423 //****************************************************************************** 1424 1424 //****************************************************************************** 1425 UINT WIN32API ArrangeIconicWindows( HWND arg1) 1426 { 1427 #ifdef DEBUG 1428 WriteLog("USER32: ArrangeIconicWindows\n"); 1429 #endif 1430 return O32_ArrangeIconicWindows(arg1); 1425 UINT WIN32API ArrangeIconicWindows( HWND hwnd) 1426 { 1427 dprintf(("USER32: ArrangeIconicWindows %x", hwnd)); 1428 return O32_ArrangeIconicWindows(Win32BaseWindow::Win32ToOS2FrameHandle(hwnd)); 1431 1429 } 1432 1430 //****************************************************************************** … … 1445 1443 //****************************************************************************** 1446 1444 //****************************************************************************** 1447 BOOL WIN32API ShowOwnedPopups( HWND arg1, BOOL arg2)1448 { 1449 dprintf(("USER32: ShowOwnedPopups \n"));1450 return O32_ShowOwnedPopups( arg1, arg2);1451 } 1452 //****************************************************************************** 1453 //****************************************************************************** 1454 1445 BOOL WIN32API ShowOwnedPopups( HWND hwnd, BOOL arg2) 1446 { 1447 dprintf(("USER32: ShowOwnedPopups %x", hwnd)); 1448 return O32_ShowOwnedPopups(Win32BaseWindow::Win32ToOS2FrameHandle(hwnd), arg2); 1449 } 1450 //****************************************************************************** 1451 //****************************************************************************** 1452
Note:
See TracChangeset
for help on using the changeset viewer.