Partager via


2.2.2.9.8 _PRINTER_INFO_7

The _PRINTER_INFO_7 structure specifies printer information.<130> It is a custom-marshaled form of the _PRINTER_INFO_7 (section 2.2.1.10.8) 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

szObjectGUIDOffset

dwAction

szObjectGUIDOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the start of the szObjectGUIDArray member.

dwAction (4 bytes): An action for the printer to perform if it used by the client in a call to RpcSetPrinter. The value of this member represents a DS-specific publishing state by the server if it is used in a response to RpcGetPrinter. The value of this member MUST be a constant from the table in section 2.2.1.10.8.

Variable_Data (variable): An array of zero or more 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

szObjectGUIDArray (variable)

...

szObjectGUIDArray (variable): A string that specifies the GUID of the printer. The location of this buffer is determined by the value of the szObjectGUIDOffset member.