Changeset 391 for trunk/src/user32/new/user32.cpp
- Timestamp:
- Jul 25, 1999, 11:19:22 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/user32.cpp
r385 r391 1 /* $Id: user32.cpp,v 1. 9 1999-07-24 14:01:44sandervl Exp $ */1 /* $Id: user32.cpp,v 1.10 1999-07-25 09:19:21 sandervl Exp $ */ 2 2 3 3 /* … … 1073 1073 } 1074 1074 //****************************************************************************** 1075 //****************************************************************************** 1076 BOOL WIN32API GetWindowPlacement( HWND arg1, LPWINDOWPLACEMENT arg2) 1077 { 1078 #ifdef DEBUG 1079 WriteLog("USER32: GetWindowPlacement\n"); 1080 #endif 1081 return O32_GetWindowPlacement(arg1, arg2); 1082 } 1083 //****************************************************************************** 1084 1085 1086 //****************************************************************************** 1087 int WIN32API GetWindowTextLengthW( HWND arg1) 1088 { 1089 #ifdef DEBUG 1090 WriteLog("USER32: GetWindowTextLengthW\n"); 1091 #endif 1092 return O32_GetWindowTextLength(arg1); 1093 } 1094 //****************************************************************************** 1095 //****************************************************************************** 1096 int WIN32API GetWindowTextW(HWND hwnd, LPWSTR lpsz, int cch) 1097 { 1098 char title[128]; 1099 int rc; 1100 1101 rc = O32_GetWindowText(hwnd, title, sizeof(title)); 1102 #ifdef DEBUG 1103 WriteLog("USER32: GetWindowTextW returned %s\n", title); 1104 #endif 1105 if(rc > cch) { 1106 title[cch-1] = 0; 1107 rc = cch; 1108 } 1109 AsciiToUnicode(title, lpsz); 1110 return(rc); 1111 } 1075 1076 1077 //****************************************************************************** 1112 1078 //****************************************************************************** 1113 1079 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.