次の方法で共有


2.2.1.10.1 PRINTER_INFO_STRESS

The PRINTER_INFO_STRESS structure provides diagnostic printer information used for print system remote protocol stress analysis.<51>

 typedef struct _PRINTER_INFO_STRESS {
   [string] wchar_t* pPrinterName;
   [string] wchar_t* pServerName;
   DWORD cJobs;
   DWORD cTotalJobs;
   DWORD cTotalBytes;
   SYSTEMTIME stUpTime;
   DWORD MaxcRef;
   DWORD cTotalPagesPrinted;
   DWORD dwGetVersion;
   DWORD fFreeBuild;
   DWORD cSpooling;
   DWORD cMaxSpooling;
   DWORD cRef;
   DWORD cErrorOutOfPaper;
   DWORD cErrorNotReady;
   DWORD cJobError;
   DWORD dwNumberOfProcessors;
   DWORD dwProcessorType;
   DWORD dwHighPartTotalBytes;
   DWORD cChangeID;
   DWORD dwLastError;
   DWORD Status;
   DWORD cEnumerateNetworkPrinters;
   DWORD cAddNetPrinters;
   unsigned short wProcessorArchitecture;
   unsigned short wProcessorLevel;
   DWORD cRefIC;
   DWORD dwReserved2;
   DWORD dwReserved3;
 } PRINTER_INFO_STRESS;

cJobs: The number of jobs that are currently in the print queue.

cTotalJobs: The total number of jobs that have been spooled since the print server was started.

cTotalBytes: The low-order 32 bits of an unsigned 64-bit value that specifies the total number of bytes that have been printed since system startup. The high-order 32 bits are specified by the dwHighPartTotalBytes member.

stUpTime: The time the printer data structure was created, in SYSTEMTIME format ([MS-DTYP] section 2.3.13).

MaxcRef: The historic maximum value of the cRef member.

cTotalPagesPrinted: The total number of pages printed.

dwGetVersion: An implementation-specific value that specifies the version of the operating system.<52>

fFreeBuild: An implementation-specific value that MUST be ignored on receipt.<53>

cSpooling: The number of actively spooling jobs.

cMaxSpooling: The historic maximum number of actively spooling jobs.

cRef: The reference count for opened printer objects.

cErrorOutOfPaper: The total number of out-of-paper errors.

cErrorNotReady: The total number of not-ready errors.

cJobError: The total number of job errors.

dwNumberOfProcessors: The number of processors in the computer on which the print server is running.

dwProcessorType: An implementation-specific value that identifies the type of processor in the computer.<54>

dwHighPartTotalBytes: The high-order 32 bits of an unsigned 64-bit value that specifies the total number of bytes that have been printed since system startup. The low-order 32 bits are specified by the cTotalBytes member.

cChangeID: A unique number that identifies the last change.

dwLastError: An implementation-specific error code for the last error that occurred with this printer.<55>

Status: The current printer status (section 2.2.3.12).

cEnumerateNetworkPrinters: The number of times the network printers in the "List of Known Printers" have been requested.

cAddNetPrinters: The number of network printers added, per server.

wProcessorArchitecture: An implementation-specific value that identifies the system's processor architecture. This value SHOULD be ignored on receipt.<56>

wProcessorLevel: An implementation-specific value that identifies the system's architecture-dependent processor level. This value SHOULD be ignored on receipt.<57>

cRefIC: The number of open information context handles.

All members not defined in this section are specified in sections 2.2.1.3.6 and 2.2.1.3.