3.3.5.2.2.7 Sending a Document Properties Request

The server MUST send the DOC_PROPERTIES_REQ request message when the printing subsystem requests a DEVMODE for document properties from the virtual printer driver. The printing subsystem provides the contents of the fMode and hServerWindow fields. The contents of the cbDevmodeIn and DevmodeIn fields, also provided by the printing subsystem, describe the DEVMODE. The OutputDevModeSizeProvided field describes the maximum data size expected in bytes in the OutDevMode field of the reply message.