Changeset 337 for trunk/include/helpers


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
  • trunk/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
     
    763763    BOOL XWPENTRY winhRestoreWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey, ULONG fl);
    764764
     765    // V1.0.6 (2006-10-28) [pr]
     766
     767    /*
     768     *@@ STOREPOS:
     769     *
     770     */
     771
     772    #pragma pack(2)
     773    typedef struct _STOREPOS
     774    {
     775        USHORT      usMagic;          // Always 0x7B6A (???)
     776        ULONG       ulFlags;
     777        USHORT      usXPos;
     778        USHORT      usYPos;
     779        USHORT      usWidth;
     780        USHORT      usHeight;
     781        ULONG       ulRes1;           // Always 1 (???)
     782        USHORT      usRestoreXPos;
     783        USHORT      usRestoreYPos;
     784        USHORT      usRestoreWidth;
     785        USHORT      usRestoreHeight;
     786        ULONG       ulRes2;           // Always 1 (???)
     787        USHORT      usMinXPos;
     788        USHORT      usMinYPos;
     789        ULONG       ulRes3;           // Always 0x0400 (???)
     790        ULONG       ulRes4;           // Always 0x0300 (???)
     791        ULONG       ulRes5;           // Always 0xFFFFFFFF (???)
     792        ULONG       ulRes6;           // Always 0xFFFFFFFF (???)
     793        ULONG       ulPPLen;          // Presentation Parameters length
     794    } STOREPOS, *PSTOREPOS;
     795    #pragma pack()
     796
     797    #pragma import(WinGetFrameTreePPSize, , "PMWIN", 972)
     798    #pragma import(WinGetFrameTreePPs, , "PMWIN", 973)
     799
     800    ULONG APIENTRY WinGetFrameTreePPSize(HWND hwnd);
     801    ULONG APIENTRY WinGetFrameTreePPs(HWND hwnd, ULONG cchMax, PCH pch);
     802
     803    BOOL XWPENTRY winhStoreWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey);
     804
    765805    #define XAC_MOVEX       0x0001
    766806    #define XAC_MOVEY       0x0002
Note: See TracChangeset for help on using the changeset viewer.