2.2.3.2.4 Client Print Ticket to Devmode Response (PRINT_TKT_TO_DEVMODE_RSP)

Returns the updated DEVMODE packet in reply to PRINT_TKT_TO_DEVMODE_REQ (Server Print Ticket to Devmode Request) from client to server.


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)

...

cbDevmodeOut

pDevmodeOut (variable)

...

Result

Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field and the MessageId field in this message header MUST contain the same values as the InterfaceId and MessageId fields in the corresponding PRINT_TKT_TO_DEVMODE_REQ request message.

cbDevmodeOut (4 bytes): A 32-bit unsigned integer. This value MUST be the number of bytes in the pDevmodeOut byte array field.

pDevmodeOut (variable): This field contains an updated DEVMODE BLOB returned by the client printer driver, sent as an array of bytes. The content is treated as payload in this protocol.

Result (4 bytes): An HRESULT that describes the result of the call.