@Structure.FieldOrder(value={"JobId","pPrinterName","pMachineName","pUserName","pDocument","pDatatype","pStatus","Status","Priority","Position","TotalPages","PagesPrinted","Submitted"}) public static class Winspool.JOB_INFO_1 extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
JobId
A job identifier.
|
int |
PagesPrinted
The number of pages that have printed.
|
java.lang.String |
pDatatype
A pointer to a null-terminated string that specifies the type of data
used to record the print job.
|
java.lang.String |
pDocument
A pointer to a null-terminated string that specifies the name of the
print job (for example, "MS-WORD: Review.doc").
|
java.lang.String |
pMachineName
A pointer to a null-terminated string that specifies the name of the
machine that created the print job.
|
int |
Position
The job's position in the print queue.
|
java.lang.String |
pPrinterName
A pointer to a null-terminated string that specifies the name of the
printer for which the job is spooled.
|
int |
Priority
The job priority.
|
java.lang.String |
pStatus
A pointer to a null-terminated string that specifies the status of
the print job.
|
java.lang.String |
pUserName
A pointer to a null-terminated string that specifies the name of the
user that owns the print job.
|
int |
Status
The job status.
|
WinBase.SYSTEMTIME |
Submitted
A SYSTEMTIME structure that specifies the time that this document was
spooled.
|
int |
TotalPages
The total number of pages that the document contains.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
JOB_INFO_1() |
JOB_INFO_1(int size) |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int JobId
public java.lang.String pPrinterName
public java.lang.String pMachineName
public java.lang.String pUserName
public java.lang.String pDocument
public java.lang.String pDatatype
public java.lang.String pStatus
public int Status
public int Priority
public int Position
public int TotalPages
public int PagesPrinted
public WinBase.SYSTEMTIME Submitted
This time value is in Universal Time Coordinate (UTC) format. You should convert it to a local time value before displaying it. You can use the FileTimeToLocalFileTime function to perform the conversion.