msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WNDPARAMS (1.2)
Changes                                             Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
typedef struct _WNDPARAMS {    /* wprm */
    USHORT fsStatus;
    USHORT cchText;
    PSZ    pszText;
    USHORT cbPresParams;
    PVOID  pPresParams;
    USHORT cbCtlData;
    PVOID  pCtlData;
} WNDPARAMS;
 
The WNDPARAMS structure contains information about a window.
 
Field         Description
────────────────────────────────────────────────────────────────────────────
 
fsStatus      Specifies the window parameters which are to be set or
              queried. This can be any combination of the following values:
 
              Value             Meaning
              ──────────────────────────────────────────────────────────────
              WPM_TEXT          Text
 
              WPM_CTLDATA       Control data
 
              WPM_PRESPARAMS    Presentation parameters
 
              WPM_CCHTEXT       Size of text
 
              WPM_CBCTLDATA     Size of control data
 
              WPM_CBPRESPARAMS  Size of presentation parameters
 
cchText       Specifies the length of the window text.
 
pszText       Points to the window text.
 
cbPresParams  Specifies the length of the presentation parameters.
 
pPresParams   Points to the PRESPARAMS structure that contains presentation
              parameters. This field is NULL if there are no presentation
              parameters.
 
cbCtlData     Specifies the length of the class-specific data.
 
pCtlData      Points to the class-specific data.
 
See Also
 
PRESPARAMS, WM_QUERYWINDOWPARAMS, WM_SETWINDOWPARAMS
 
                                      ♦