2.2.4.2.9 Server Get Device Adjustment Request (MXDC_GETPDEV_ADJUSTMENT_REQ)

This server-to-client request is sent to retrieve device adjustment information.


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

Header (variable)

...

cbDevModeIn

pDevmodeIn (variable)

...

cbInBuffer

pInBuffer (variable)

...

numInProps

pInProps (variable)

...

Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field MUST be set to 0x00000000. The FunctionId field MUST be set to MXDC_GETPDEV_ADJUSTMENT_REQ (0x0000010C).

cbDevModeIn (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of bytes in the pDevmodeIn field.

pDevmodeIn (variable): A DEVMODE structure sent as an array of bytes. The content is generated by the printing subsystem and is treated as payload in the Printer Driver Interface.

cbInBuffer (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of bytes in the pInBuffer field.

pInBuffer (variable): An array of bytes. Opaque payload passed by the Printer Driver Interface from the printing subsystem to the client printer driver.

numInProps (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of items in the pInProps field.

pInProps (variable): An array of TSPRINTER_PROPERTY elements. The content is generated by the printing subsystem and is treated as payload in the Printer Driver Interface.