2.2.2.9.3 _PRINTER_INFO_2

The _PRINTER_INFO_2 structure specifies printer information. It is a custom-marshaled form of the PRINTER_INFO_2 (section 2.2.1.10.3) structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ServerNameOffset

PrinterNameOffset

ShareNameOffset

PortNameOffset

DriverNameOffset

CommentOffset

LocationOffset

DevModeOffset

SepFileOffset

PrintProcessorOffset

DatatypeOffset

ParametersOffset

SecurityDescriptorOffset

Attributes

Priority

DefaultPriority

StartTime

UntilTime

Status

cJobs

AveragePPM

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


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SecurityDescriptorArray (variable)

...

ParametersArray (variable)

...

DatatypeArray (variable)

...

PrintProcessorArray (variable)

...

SepFileArray (variable)

...

DevModeArray (variable)

...

LocationArray (variable)

...

CommentArray (variable)

...

DriverNameArray (variable)

...

PortNameArray (variable)

...

ShareNameArray (variable)

...

PrinterNameArray (variable)

...

ServerNameArray (variable)

...

Show: