GETINFO_STDVAR structure (printoem.h)
The GETINFO_STDVAR structure is used as input to the UNIFONTOBJ_GetInfo callback function.
Syntax
typedef struct _GETINFO_STDVAR {
DWORD dwSize;
DWORD dwNumOfVariable;
struct {
DWORD dwStdVarID;
LONG lStdVariable;
};
__unnamed_struct_1546_3 StdVar[1];
} GETINFO_STDVAR, *PGETINFO_STDVAR;
Members
dwSize
Specifies the size, in bytes, of the GETINFO_STDVAR structure. Supplied by the UNIFONTOBJ_GetInfo caller.
dwNumOfVariable
Defines the DWORD member dwNumOfVariable.
dwStdVarID
Defines the DWORD member dwStdVarID.
lStdVariable
Defines the LONG member lStdVariable.
StdVar[1]
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.
Requirements
Requirement | Value |
---|---|
Header | printoem.h (include Printoem.h) |