Changeset 346 for branches/branch-1-0/src/helpers/winh.c
- Timestamp:
- Dec 16, 2006, 12:42:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/winh.c
r338 r346 2484 2484 * 2485 2485 *@@added XWP V1.0.6 (2006-10-31) [pr]: @@fixes 458 2486 *@@changed XWP V1.0.7 (2006-12-16) [pr]: detect screen height/width @@fixes 903 2486 2487 */ 2487 2488 … … 2502 2503 if ((pStorePos = malloc(ulSize))) 2503 2504 { 2504 // This first bit is allguesswork as I don't know what it all means,2505 // This first bit is guesswork as I don't know what it all means, 2505 2506 // but it always seems to be the same everywhere I've looked. 2506 2507 pStorePos->usMagic = 0x7B6A; 2507 2508 pStorePos->ulRes1 = 1; 2508 2509 pStorePos->ulRes2 = 1; 2509 pStorePos->ulRes3 = 0x0400; 2510 pStorePos->ulRes4 = 0x0300; 2511 pStorePos->ulRes5 = 0xFFFFFFFF; 2512 pStorePos->ulRes6 = 0xFFFFFFFF; 2510 pStorePos->ulRes3 = 0xFFFFFFFF; 2511 pStorePos->ulRes4 = 0xFFFFFFFF; 2513 2512 2514 2513 pStorePos->ulFlags = swp.fl; … … 2527 2526 pStorePos->usMinXPos = WinQueryWindowUShort(hwnd, QWS_XMINIMIZE); 2528 2527 pStorePos->usMinYPos = WinQueryWindowUShort(hwnd, QWS_YMINIMIZE); 2528 pStorePos->ulScreenWidth = WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN);; 2529 pStorePos->ulScreenHeight = WinQuerySysValue(HWND_DESKTOP, SV_CYSCREEN);; 2529 2530 pStorePos->ulPPLen = WinGetFrameTreePPs(hwnd, ulSizePP, (PSZ)(pStorePos + 1)); 2530 2531 ulSize = pStorePos->ulPPLen + sizeof(STOREPOS);
Note:
See TracChangeset
for help on using the changeset viewer.