msos2.hlp (Table of Contents; Topic list)
PARAM (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSYS
 
typedef struct _PARAM {    /* param */
    ULONG id;
    ULONG cb;
    BYTE  ab[1];
} PARAM;
 
The PARAM structure contains a presentation parameter.
 
Field  Description
────────────────────────────────────────────────────────────────────────────
 
id     Identifies the presentation parameter. It can be one of the following
       values:
 
       Value                            Meaning
       ─────────────────────────────────────────────────────────────────────
       PP_FOREGROUNDCOLOR               RGB foreground color
 
       PP_FOREGROUNDCOLORINDEX          Color index of foreground color
 
       PP_BACKGROUNDCOLOR               RGB background color
 
       PP_BACKGROUNDCOLORINDEX          Color index of background color
 
       PP_HILITEFOREGROUNDCOLOR         RGB color of foreground highlighted
                                        area
 
       PP_HILITEFOREGROUNDCOLORINDEX    Color index of foreground
                                        highlighted area
 
       PP_HILITEBACKGROUNDCOLOR         RGB color of background highlighted
                                        area
 
       PP_HILITEBACKGROUNDCOLORINDEX    Color index of background
                                        highlighted area
 
       PP_DISABLEDFOREGROUNDCOLOR       RGB foreground disabled color
 
       PP_DISABLEDFOREGROUNDCOLORINDEX  Color index of foreground disabled
                                        color
 
       PP_DISABLEDBACKGROUNDCOLOR       RGB color of background disabled
                                        color
 
       PP_DISABLEDBACKGROUNDCOLORINDEX  Color index of background disabled
                                        color
 
       PP_BORDERCOLOR                   RGB color of window border
 
       PP_BORDERCOLORINDEX              Color index of window border
 
       PP_FONTNAMESIZE                  Font size
 
       A value of zero for this parameter specifies an application-defined
       string.
 
cb     Specifies the length of the presentation parameter.
 
ab[1]  Specifies an array of bytes containing the presentation parameter.
 
See Also
 
PRESPARAMS