Skip to content

Latest commit

 

History

History
109 lines (85 loc) · 3.92 KB

ns-printoem-_getinfo_stdvar.md

File metadata and controls

109 lines (85 loc) · 3.92 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:printoem._GETINFO_STDVAR
GETINFO_STDVAR (printoem.h)
The GETINFO_STDVAR structure is used as input to the UNIFONTOBJ_GetInfo callback function.
print
08/12/2022
GETINFO_STDVAR structure
*PGETINFO_STDVAR, GETINFO_STDVAR, GETINFO_STDVAR structure [Print Devices], PGETINFO_STDVAR, PGETINFO_STDVAR structure pointer [Print Devices], _GETINFO_STDVAR, print.getinfo_stdvar, print_unidrv-pscript_rendering_3a08d48b-215f-4acc-89ef-849a2b826ce7.xml, printoem/GETINFO_STDVAR, printoem/PGETINFO_STDVAR
printoem.h
Printoem.h
Windows
Windows
GETINFO_STDVAR, *PGETINFO_STDVAR
_GETINFO_STDVAR
printoem/_GETINFO_STDVAR
PGETINFO_STDVAR
printoem/PGETINFO_STDVAR
GETINFO_STDVAR
printoem/GETINFO_STDVAR
APIRef
kbSyntax
HeaderDef
printoem.h
_GETINFO_STDVAR
PGETINFO_STDVAR
GETINFO_STDVAR

-description

The GETINFO_STDVAR structure is used as input to the UNIFONTOBJ_GetInfo callback function.

-struct-fields

-field dwSize

Specifies the size, in bytes, of the GETINFO_STDVAR structure. Supplied by the UNIFONTOBJ_GetInfo caller.

-field dwNumOfVariable

Defines the DWORD member dwNumOfVariable.

-field dwStdVarID

Defines the DWORD member dwStdVarID.

-field lStdVariable

Defines the LONG member lStdVariable.

-field StdVar

An array specifying standard variable indexes and values. Each array element contains two members: a dwStdVarID member and an lStdVariable member.

dwStdVarID

Specifies the standard variables for which a value should be returned. Supplied by the UNIFONTOBJ_GetInfo caller. Valid values are contained in the following table.

Identifier Standard Variable
FNT_INFO_CURRENTFONTID CurrentFontID
FNT_INFO_FONTBOLD FontBold
FNT_INFO_FONTHEIGHT FontHeight
FNT_INFO_FONTITALIC FontItalic
FNT_INFO_FONTMAXWIDTH FontMaxWidth
FNT_INFO_FONTSTRIKETHRU FontStrikeThru
FNT_INFO_FONTUNDERLINE FontUnderline
FNT_INFO_FONTWIDTH FontWidth
FNT_INFO_GRAYPERCENTAGE GrayPercentage
FNT_INFO_NEXTFONTID NextFontID
FNT_INFO_NEXTGLYPH NextGlyph
FNT_INFO_PRINTDIRINCCDEGREES PrintDirInCCDegrees
FNT_INFO_TEXTXRES TextXRes
FNT_INFO_TEXTYRES TextYRes

Supplied by the UNIFONTOBJ_GetInfo caller.

lStdVariable

Specifies the current value of the specified standard variable. Supplied by Unidrv's UNIFONTOBJ_GetInfo callback function.

-remarks

To obtain the current value for one or more of Unidrv's standard variables, a rendering plug-in can supply the address of a GETINFO_STDVAR structure when calling Unidrv's UNIFONTOBJ_GetInfo callback function.

For more information about standard variables, see Microsoft Universal Printer Driver.

-see-also

UNIFONTOBJ_GetInfo