Ignore:
Timestamp:
Oct 31, 2006, 3:11:11 AM (19 years ago)
Author:
pr
Message:

Add winhStoreWindowPos. Bug 458.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/include/helpers/winh.h

    r276 r337  
    1515 */
    1616
    17 /*      Copyright (C) 1997-2000 Ulrich M”ller.
     17/*      Copyright (C) 1997-2006 Ulrich M”ller.
    1818 *      This file is part of the "XWorkplace helpers" source package.
    1919 *      This is free software; you can redistribute it and/or modify
     
    673673    BOOL XWPENTRY winhRestoreWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey, ULONG fl);
    674674
     675    // V1.0.6 (2006-10-28) [pr]
     676
     677    /*
     678     *@@ STOREPOS:
     679     *
     680     */
     681
     682    #pragma pack(2)
     683    typedef struct _STOREPOS
     684    {
     685        USHORT      usMagic;          // Always 0x7B6A (???)
     686        ULONG       ulFlags;
     687        USHORT      usXPos;
     688        USHORT      usYPos;
     689        USHORT      usWidth;
     690        USHORT      usHeight;
     691        ULONG       ulRes1;           // Always 1 (???)
     692        USHORT      usRestoreXPos;
     693        USHORT      usRestoreYPos;
     694        USHORT      usRestoreWidth;
     695        USHORT      usRestoreHeight;
     696        ULONG       ulRes2;           // Always 1 (???)
     697        USHORT      usMinXPos;
     698        USHORT      usMinYPos;
     699        ULONG       ulRes3;           // Always 0x0400 (???)
     700        ULONG       ulRes4;           // Always 0x0300 (???)
     701        ULONG       ulRes5;           // Always 0xFFFFFFFF (???)
     702        ULONG       ulRes6;           // Always 0xFFFFFFFF (???)
     703        ULONG       ulPPLen;          // Presentation Parameters length
     704    } STOREPOS, *PSTOREPOS;
     705    #pragma pack()
     706
     707    #pragma import(WinGetFrameTreePPSize, , "PMWIN", 972)
     708    #pragma import(WinGetFrameTreePPs, , "PMWIN", 973)
     709
     710    ULONG APIENTRY WinGetFrameTreePPSize(HWND hwnd);
     711    ULONG APIENTRY WinGetFrameTreePPs(HWND hwnd, ULONG cchMax, PCH pch);
     712
     713    BOOL XWPENTRY winhStoreWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey);
     714
    675715    #define XAC_MOVEX       0x0001
    676716    #define XAC_MOVEY       0x0002
Note: See TracChangeset for help on using the changeset viewer.