Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 3.74 KB

ns-compstui-_opttype.md

File metadata and controls

100 lines (73 loc) · 3.74 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:compstui._OPTTYPE
OPTTYPE (compstui.h)
The OPTTYPE structure is used by CPSUI applications (including printer interface DLLs) for describing the type and other characteristics of a property sheet option, if the option is specified by an OPTITEM structure.
print
11/16/2022
OPTTYPE structure
*POPTTYPE, OPTTYPE, OPTTYPE structure [Print Devices], POPTTYPE, POPTTYPE structure pointer [Print Devices], _OPTTYPE, compstui/OPTTYPE, compstui/POPTTYPE, cpsuifnc_de1ff2db-9eea-4daf-bc9e-2e24a2dd5271.xml, print.opttype
compstui.h
Compstui.h
Windows
Windows
OPTTYPE, *POPTTYPE
_OPTTYPE
compstui/_OPTTYPE
POPTTYPE
compstui/POPTTYPE
OPTTYPE
compstui/OPTTYPE
APIRef
kbSyntax
HeaderDef
compstui.h
_OPTTYPE
POPTTYPE
OPTTYPE

-description

The OPTTYPE structure is used by CPSUI applications (including printer interface DLLs) for describing the type and other characteristics of a property sheet option, if the option is specified by an OPTITEM structure.

-struct-fields

-field cbSize

Size, in bytes, of the OPTTYPE structure.

-field Type

Specifies the CPSUI option type.

-field Flags

Optional bit flags that modify the option's characteristics. The following flags can be set in any combination.

OPTTF_NOSPACE_BEFORE_POSTFIX

CPSUI should not add a space character between the string specified by the OPTITEM structure's pName string and the OPTPARAM structure's pData string, when displaying the option.

Valid only if the option type is or TVOT_SCROLLBAR or TVOT_TRACKBAR.

OPTTF_TYPE_DISABLED

All the OPTPARAM structures to which pOptParam points are disabled, so that none of the parameter values are user-selectable.

-field Count

Specifies the number of OPTPARAM structures to which pOptParam points. This member's value is dependent on the CPSUI option type.

-field BegCtrlID

If pDlgPage in COMPROPSHEETUI identifies a CPSUI-supplied page, or if DlgTemplateID in DLGPAGE identifies a CPSUI-supplied template, BegCtrlID is not used.

Otherwise, BegCtrlID must contain the first of a sequentially numbered set of Windows control identifiers. Control identifier usage is dependent on the CPSUI option type.

-field pOptParam

Pointer to an array of OPTPARAM structures describing the parameter values that a user can select for the option.

-field Style

Specifies flags that can be used to modify the option's display characteristics. The flags that can be specified are dependent on the CPSUI option type.

-field wReserved

Reserved, must be initialized to zero.

-field dwReserved

Reserved, must be initialized to zero.