Changeset 322 for trunk/src/user32/new/oslibwin.cpp
- Timestamp:
- Jul 17, 1999, 2:49:41 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibwin.cpp
r321 r322 1 /* $Id: oslibwin.cpp,v 1. 6 1999-07-17 11:52:22 sandervlExp $ */1 /* $Id: oslibwin.cpp,v 1.7 1999-07-17 12:49:40 cbratschi Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 64 64 return hwndClient; 65 65 } 66 66 dprintf(("OSLibWinCreateWindow: WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB()))); 67 67 return 0; 68 68 } … … 145 145 //****************************************************************************** 146 146 //****************************************************************************** 147 BOOL OSLibWinAlarm(HWND hwndDeskTop,ULONG flStyle) 148 { 149 return WinAlarm(hwndDeskTop,flStyle); 150 } 151 //****************************************************************************** 152 //****************************************************************************** 153 APIRET OSLibDosBeep(ULONG freg,ULONG dur) 154 { 155 return DosBeep(freg,dur); 156 } 157 //****************************************************************************** 158 //****************************************************************************** 159 LONG OSLibWinQueryWindowTextLength(HWND hwnd) 160 { 161 return WinQueryWindowTextLength(hwnd); 162 } 163 //****************************************************************************** 164 //****************************************************************************** 165 LONG OSLibWinQueryWindowText(HWND hwnd,LONG lLength,char* pun) 166 { 167 return WinQueryWindowText(hwnd,lLength,pun); 168 } 169 //****************************************************************************** 170 //****************************************************************************** 147 171 HWND OSLibWinQueryWindow(HWND hwnd, ULONG lCode) 148 172 { … … 151 175 //****************************************************************************** 152 176 //****************************************************************************** 153 BOOL OSLibWinSetWindowPos(HWND hwnd, HWND hwndInsertBehind, LONG x, LONG y, LONG cx, 177 BOOL OSLibWinSetWindowPos(HWND hwnd, HWND hwndInsertBehind, LONG x, LONG y, LONG cx, 154 178 LONG cy, ULONG fl) 155 179 { … … 183 207 rc = WinQueryWindowPos(hwnd, &swp); 184 208 if(rc == FALSE) { 185 186 209 dprintf(("OSLibWinIsIconic: WinQueryWindowPos %x failed", hwnd)); 210 return FALSE; 187 211 } 188 212 189 213 if(swp.fl & SWP_MINIMIZE) 190 191 else 214 return TRUE; 215 else return FALSE; 192 216 } 193 217 //****************************************************************************** … … 255 279 //****************************************************************************** 256 280 //****************************************************************************** 281
Note:
See TracChangeset
for help on using the changeset viewer.