2.2.4.3.2.1 Server Async Document Properties Request (ASYNC_DOC_PROPS_REQ)
This request is sent from server to client and is used to start the display of a document properties UI on the client.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
fMode |
|||||||||||||||||||||||||||||||
hServerWindow |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
cbDevmodeIn |
|||||||||||||||||||||||||||||||
DevmodeIn (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
OutputDevModeSize |
|||||||||||||||||||||||||||||||
Reserved |
|||||||||||||||||||||||||||||||
Callback |
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 ASYNC_DOC_PROPS_REQ (0x00000106).
fMode (4 bytes): A 32-bit unsigned integer. The content is generated by the printing subsystem and is treated as payload in the Printer Driver Interface.
hServerWindow (8 bytes): A 64-bit unsigned integer. When an operating system calls into a server virtual printer driver to display the document properties UI, it also supplies a WindowHandle to use as a parent for the UI displayed. The WindowHandle is passed to the client printer driver in this field.
cbDevmodeIn (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of bytes in the following DevmodeIn field.
DevmodeIn (variable): An array of 8-bit unsigned integers. The content is generated by the printing subsystem and is treated as payload in the Printer Driver Interface.
OutputDevModeSize (4 bytes): A 32-bit unsigned integer. This field MUST contain the maximum size in bytes of the Devmode field of the DOC_PROPS_CALLBACK_REQ request message.
Reserved (4 bytes): A 32-bit unsigned integer. This field MUST be set to 0x00000001.
Callback (4 bytes): A 32-bit unsigned integer. This value represents a unique interface ID to be used by a DOC_PROPS_CALLBACK_REQ request message.