Changeset 1704 for trunk/src/user32/user32.cpp
- Timestamp:
- Nov 11, 1999, 2:17:33 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/user32.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r1671 r1704 1 /* $Id: user32.cpp,v 1.5 2 1999-11-09 19:23:16sandervl Exp $ */1 /* $Id: user32.cpp,v 1.53 1999-11-11 13:17:30 sandervl Exp $ */ 2 2 3 3 /* … … 1038 1038 /* Help Functions */ 1039 1039 1040 DWORD WIN32API GetWindowContextHelpId(HWND hwnd)1041 {1042 #ifdef DEBUG1043 WriteLog("USER32: GetWindowContextHelpId, not implemented\n");1044 #endif1045 hwnd = Win32Window::Win32ToOS2Handle(hwnd);1046 1047 return(0);1048 }1049 //******************************************************************************1050 //******************************************************************************1051 BOOL WIN32API SetWindowContextHelpId(HWND hwnd, DWORD dwContextHelpId)1052 {1053 #ifdef DEBUG1054 WriteLog("USER32: SetWindowContextHelpId, not implemented\n");1055 #endif1056 hwnd = Win32Window::Win32ToOS2Handle(hwnd);1057 1058 return(TRUE);1059 }1060 //******************************************************************************1061 //******************************************************************************1062 1040 BOOL WIN32API WinHelpA( HWND hwnd, LPCSTR lpszHelp, UINT uCommand, DWORD dwData) 1063 1041 { … … 1123 1101 { 1124 1102 return (GetOEMCP()); 1125 }1126 /*****************************************************************************1127 * Name : BOOL WIN32API GetKeyboardLayoutNameA1128 * Purpose : The GetKeyboardLayoutName function retrieves the name of the1129 * active keyboard layout.1130 * Parameters: LPTSTR pwszKLID address of buffer for layout name1131 * Variables :1132 * Result : If the function succeeds, the return value is TRUE.1133 * If the function fails, the return value is FALSE. To get extended1134 * error information, call GetLastError.1135 * Remark :1136 * Status : UNTESTED STUB1137 *1138 * Author : Patrick Haller [Thu, 1998/02/26 11:55]1139 *****************************************************************************/1140 // @@@PH Win32 BOOL's are casted to INTs1141 INT WIN32API GetKeyboardLayoutNameA(LPTSTR pwszKLID)1142 {1143 dprintf(("USER32:GetKeyboardLayoutNameA (%08x) not implemented.",1144 pwszKLID));1145 1146 return(FALSE);1147 }1148 //******************************************************************************1149 //******************************************************************************1150 int WIN32API GetKeyboardLayoutList(int nBuff, HKL *lpList)1151 {1152 dprintf(("USER32: GetKeyboardLayoutList, not implemented\n"));1153 return(0);1154 }1155 //******************************************************************************1156 //******************************************************************************1157 HKL WIN32API GetKeyboardLayout(DWORD dwLayout)1158 {1159 #ifdef DEBUG1160 WriteLog("USER32: GetKeyboardLayout, not implemented\n");1161 #endif1162 return(0);1163 }1164 /*****************************************************************************1165 * Name : BOOL WIN32API GetKeyboardLayoutNameW1166 * Purpose : The GetKeyboardLayoutName function retrieves the name of the1167 * active keyboard layout.1168 * Parameters: LPTSTR pwszKLID address of buffer for layout name1169 * Variables :1170 * Result : If the function succeeds, the return value is TRUE.1171 * If the function fails, the return value is FALSE. To get extended1172 * error information, call GetLastError.1173 * Remark :1174 * Status : UNTESTED STUB1175 *1176 * Author : Patrick Haller [Thu, 1998/02/26 11:55]1177 *****************************************************************************/1178 // @@@PH Win32 BOOL's are casted to INTs1179 INT WIN32API GetKeyboardLayoutNameW(LPWSTR pwszKLID)1180 {1181 dprintf(("USER32:GetKeyboardLayoutNameW (%08x) not implemented.",1182 pwszKLID));1183 1184 return(FALSE);1185 }1186 //******************************************************************************1187 //******************************************************************************1188 BOOL WIN32API GetKeyboardState(PBYTE lpKeyState)1189 {1190 #ifdef DEBUG1191 WriteLog("USER32: GetKeyboardState, not properly implemented\n");1192 #endif1193 memset(lpKeyState, 0, 256);1194 return(TRUE);1195 1103 } 1196 1104 //****************************************************************************** … … 1409 1317 #endif 1410 1318 hwnd = Win32Window::Win32ToOS2Handle(hwnd); 1411 return(TRUE);1412 }1413 //******************************************************************************1414 //******************************************************************************1415 BOOL WIN32API SetKeyboardState(PBYTE lpKeyState)1416 {1417 #ifdef DEBUG1418 WriteLog("USER32: SetKeyboardState, not implemented\n");1419 #endif1420 1319 return(TRUE); 1421 1320 } … … 1713 1612 return (FALSE); 1714 1613 } 1715 //****************************************************************************** 1716 //****************************************************************************** 1717 HWND WIN32API GetForegroundWindow(void) 1718 { 1719 #ifdef DEBUG 1720 WriteLog("USER32: GetForegroundWindow\n"); 1721 #endif 1722 return Win32Window::OS2ToWin32Handle(O32_GetForegroundWindow()); 1723 } 1724 //****************************************************************************** 1725 //****************************************************************************** 1726 HWND WIN32API GetLastActivePopup( HWND hWnd) 1727 { 1728 #ifdef DEBUG 1729 WriteLog("USER32: GetLastActivePopup\n"); 1730 #endif 1731 hWnd = Win32Window::Win32ToOS2Handle(hWnd); 1732 1733 return Win32Window::OS2ToWin32Handle(O32_GetLastActivePopup(hWnd)); 1734 } 1735 //****************************************************************************** 1736 //****************************************************************************** 1737 DWORD WIN32API GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId) 1738 { 1739 #ifdef DEBUG 1740 WriteLog("USER32: GetWindowThreadProcessId\n"); 1741 #endif 1742 hWnd = Win32Window::Win32ToOS2Handle(hWnd); 1743 1744 return O32_GetWindowThreadProcessId(hWnd,lpdwProcessId); 1745 } 1746 1747 /* Painting and Drawing Functions */ 1748 1749 INT WIN32API ExcludeUpdateRgn( HDC hDC, HWND hWnd) 1750 { 1751 #ifdef DEBUG 1752 WriteLog("USER32: ExcludeUpdateRgn\n"); 1753 #endif 1754 hWnd = Win32Window::Win32ToOS2Handle(hWnd); 1755 1756 return O32_ExcludeUpdateRgn(hDC,hWnd); 1757 } 1614 1758 1615 //****************************************************************************** 1759 1616 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.
