// printoem.h
typedef struct _GETINFO_STDVAR {
DWORD dwSize;
DWORD dwNumOfVariable;
struct {
DWORD dwStdVarID;
LONG lStdVariable;
};
__unnamed_struct_0016_3 StdVar[1];
} GETINFO_STDVAR, *PGETINFO_STDVAR;
View the official Windows Driver Kit DDI referenceNo description available.
The GETINFO_STDVAR structure is used as input to the UNIFONTOBJ_GetInfo callback function.
dwSizeSpecifies the size, in bytes, of the GETINFO_STDVAR structure. Supplied by the UNIFONTOBJ_GetInfo caller.
dwNumOfVariableDefines the DWORD member dwNumOfVariable.
dwStdVarIDDefines the DWORD member dwStdVarID.
lStdVariableDefines the LONG member lStdVariable.
StdVarAn array specifying standard variable indexes and values. Each array element contains two members: a dwStdVarID member and an lStdVariable member.
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.
Specifies the current value of the specified standard variable. Supplied by Unidrv's UNIFONTOBJ_GetInfo callback function.
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.