Changeset 3209 for trunk/src/user32/user32.cpp
- Timestamp:
- Mar 24, 2000, 12:06:54 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r2852 r3209 1 /* $Id: user32.cpp,v 1.7 4 2000-02-21 17:25:29 cbratschiExp $ */1 /* $Id: user32.cpp,v 1.75 2000-03-23 23:06:52 sandervl Exp $ */ 2 2 3 3 /* … … 578 578 HWND WIN32API SetCapture( HWND hwnd) 579 579 { 580 #ifdef DEBUG 581 WriteLog("USER32: SetCapture %x", hwnd); 582 #endif 580 dprintf(("USER32: SetCapture %x", hwnd)); 583 581 hwnd = Win32Window::Win32ToOS2Handle(hwnd); 584 582 return Win32Window::OS2ToWin32Handle(O32_SetCapture(hwnd)); … … 588 586 BOOL WIN32API SetDoubleClickTime( UINT uInterval) 589 587 { 590 #ifdef DEBUG 591 WriteLog("USER32: SetDoubleClickTime\n"); 592 #endif 588 dprintf(("USER32: SetDoubleClickTime\n")); 593 589 return O32_SetDoubleClickTime(uInterval); 594 590 } … … 597 593 BOOL WIN32API SwapMouseButton( BOOL fSwap) 598 594 { 599 #ifdef DEBUG 600 WriteLog("USER32: SwapMouseButton\n"); 601 #endif 595 dprintf(("USER32: SwapMouseButton\n")); 602 596 return O32_SwapMouseButton(fSwap); 603 597 } … … 644 638 INT flStyle; 645 639 646 #ifdef DEBUG 647 WriteLog("USER32: MessageBeep\n"); 648 #endif 640 dprintf(("USER32: MessageBeep\n")); 649 641 650 642 switch (uType) … … 675 667 VOID WIN32API SetLastErrorEx(DWORD dwErrCode, DWORD dwType) 676 668 { 677 #ifdef DEBUG 678 WriteLog("USER32: SetLastErrorEx\n"); 679 #endif 669 dprintf(("USER32: SetLastErrorEx\n")); 680 670 SetLastError(dwErrCode); 681 671 } … … 1056 1046 break; 1057 1047 } 1058 #ifdef DEBUG 1059 WriteLog("USER32: SystemParametersInfoW %d, returned %d\n", uiAction, rc); 1060 #endif 1048 dprintf(("USER32: SystemParametersInfoW %d, returned %d\n", uiAction, rc)); 1061 1049 return(rc); 1062 1050 } … … 1071 1059 BOOL WIN32API AttachThreadInput(DWORD idAttach, DWORD idAttachTo, BOOL fAttach) 1072 1060 { 1073 #ifdef DEBUG 1074 WriteLog("USER32: AttachThreadInput, not implemented\n"); 1075 #endif 1061 dprintf(("USER32: AttachThreadInput, not implemented\n")); 1076 1062 return(TRUE); 1077 1063 } … … 1192 1178 BOOL WIN32API ActivateKeyboardLayout(HKL hkl, UINT fuFlags) 1193 1179 { 1194 #ifdef DEBUG 1195 WriteLog("USER32: ActivateKeyboardLayout, not implemented\n"); 1196 #endif 1180 dprintf(("USER32: ActivateKeyboardLayout, not implemented\n")); 1197 1181 return(TRUE); 1198 1182 } … … 1231 1215 int WIN32API GetKeyNameTextA( LPARAM lParam, LPSTR lpString, int nSize) 1232 1216 { 1233 #ifdef DEBUG 1234 WriteLog("USER32: GetKeyNameTextA\n"); 1235 #endif 1217 dprintf(("USER32: GetKeyNameTextA\n")); 1236 1218 return O32_GetKeyNameText(lParam,lpString,nSize); 1237 1219 } … … 1240 1222 int WIN32API GetKeyNameTextW( LPARAM lParam, LPWSTR lpString, int nSize) 1241 1223 { 1242 #ifdef DEBUG 1243 WriteLog("USER32: GetKeyNameTextW DOES NOT WORK\n"); 1244 #endif 1224 dprintf(("USER32: GetKeyNameTextW DOES NOT WORK\n")); 1245 1225 // NOTE: This will not work as is (needs UNICODE support) 1246 1226 return 0; … … 1341 1321 UINT WIN32API MapVirtualKeyA( UINT uCode, UINT uMapType) 1342 1322 { 1343 #ifdef DEBUG 1344 WriteLog("USER32: MapVirtualKeyA\n"); 1345 #endif 1323 dprintf(("USER32: MapVirtualKeyA\n")); 1346 1324 return O32_MapVirtualKey(uCode,uMapType); 1347 1325 } … … 1350 1328 UINT WIN32API MapVirtualKeyW( UINT uCode, UINT uMapType) 1351 1329 { 1352 #ifdef DEBUG 1353 WriteLog("USER32: MapVirtualKeyW\n"); 1354 #endif 1330 dprintf(("USER32: MapVirtualKeyW\n")); 1355 1331 // NOTE: This will not work as is (needs UNICODE support) 1356 1332 return O32_MapVirtualKey(uCode,uMapType); … … 1438 1414 BOOL WIN32API RegisterHotKey(HWND hwnd, int idHotKey, UINT fuModifiers, UINT uVirtKey) 1439 1415 { 1440 #ifdef DEBUG 1441 WriteLog("USER32: RegisterHotKey, not implemented\n"); 1442 #endif 1416 dprintf(("USER32: RegisterHotKey, not implemented\n")); 1443 1417 hwnd = Win32Window::Win32ToOS2Handle(hwnd); 1444 1418 return(TRUE); … … 1595 1569 BOOL WIN32API UnregisterHotKey(HWND hwnd, int idHotKey) 1596 1570 { 1597 #ifdef DEBUG 1598 WriteLog("USER32: UnregisterHotKey, not implemented\n"); 1599 #endif 1571 dprintf(("USER32: UnregisterHotKey, not implemented\n")); 1600 1572 hwnd = Win32Window::Win32ToOS2Handle(hwnd); 1601 1573 … … 1607 1579 WORD WIN32API VkKeyScanA( char ch) 1608 1580 { 1609 #ifdef DEBUG 1610 WriteLog("USER32: VkKeyScanA\n"); 1611 #endif 1581 dprintf(("USER32: VkKeyScanA\n")); 1612 1582 return O32_VkKeyScan(ch); 1613 1583 } … … 1616 1586 WORD WIN32API VkKeyScanW( WCHAR wch) 1617 1587 { 1618 #ifdef DEBUG 1619 WriteLog("USER32: VkKeyScanW\n"); 1620 #endif 1588 dprintf(("USER32: VkKeyScanW\n")); 1621 1589 // NOTE: This will not work as is (needs UNICODE support) 1622 1590 return O32_VkKeyScan((char)wch); … … 1731 1699 int WIN32API FrameRect( HDC hDC, const RECT * lprc, HBRUSH hbr) 1732 1700 { 1733 #ifdef DEBUG 1734 WriteLog("USER32: FrameRect\n"); 1735 #endif 1701 dprintf(("USER32: FrameRect")); 1736 1702 return O32_FrameRect(hDC,lprc,hbr); 1737 1703 } … … 1740 1706 BOOL WIN32API InvertRect( HDC hDC, const RECT * lprc) 1741 1707 { 1742 #ifdef DEBUG 1743 WriteLog("USER32: InvertRect\n"); 1744 #endif 1708 dprintf(("USER32: InvertRect\n")); 1745 1709 return O32_InvertRect(hDC,lprc); 1746 1710 } … … 1750 1714 int WIN32API GetKeyboardType( int nTypeFlag) 1751 1715 { 1752 #ifdef DEBUG 1753 WriteLog("USER32: GetKeyboardType\n"); 1754 #endif 1716 dprintf(("USER32: GetKeyboardType\n")); 1755 1717 return O32_GetKeyboardType(nTypeFlag); 1756 1718 }
Note:
See TracChangeset
for help on using the changeset viewer.