msos2.hlp (Table of Contents; Topic list)
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
 
                                      ♦