2.2.2.9.1 _PRINTER_INFO_STRESS
The _PRINTER_INFO_STRESS structure specifies printer diagnostic information.<114> It is a custom-marshaled form of the PRINTER_INFO_STRESS (section 2.2.1.10.1) structure. This form of the _PRINTER_INFO_STRESS structure corresponds to an information Level value of 0x00000000.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Fixed_Portion (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Variable_Data (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Fixed_Portion (variable): An array of one or more groups of fixed-size fields, which are defined as follows.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1PrinterNameOffset
ServerNameOffset
cJobs
cTotalJobs
cTotalBytes
stUpTime.wYear
stUpTime.wMonth
stUpTime.wDayOfWeek
stUpTime.wDay
stUpTime.wHour
stUpTime.wMinute
stUpTime.wSecond
stUpTime.wMilliseconds
MaxcRef
cTotalPagesPrinted
dwGetVersion
fFreeBuild
cSpooling
cMaxSpooling
cRef
cErrorOutOfPaper
cErrorNotReady
cJobError
dwNumberOfProcessors
dwProcessorType
dwHighPartTotalBytes
cChangeID
dwLastError
Status
cEnumerateNetworkPrinters
cAddNetPrinters
wProcessorArchitecture
wProcessorLevel
cRefIC
dwReserved2
dwReserved3
PrinterNameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the start of the PrinterNameArray member.
ServerNameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the start of the ServerNameArray member.
Variable_Data (variable): An array of zero or more groups of optional, variable-size fields, which are defined as follows.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1PrinterNameArray (variable)
...
ServerNameArray (variable)
...
PrinterNameArray (variable): A string that specifies the printer name. The location of this buffer is determined by the value of the PrinterNameOffset member.
ServerNameArray (variable): A string that specifies the server name. The location of this buffer is determined by the value of the ServerNameOffset member.