Processing a Document Properties Request

When processing the DOC_PROPERTIES_REQ request, the client MUST query the client printer driver for document properties. The fMode and DevmodeIn fields MUST be used as input to the driver, without any additional processing. The hServerWindow field MUST identify the WindowHandle in which the request MUST be executed. The client has the responsibility to map this window to the appropriate client window, or to the container window that owns the entire terminal server desktop. This mapped value MUST also be passed as input to the client printer driver. The OutputDevModeSizeProvided field MUST be interpreted as the limit on the size of the OutDevMode field in the reply to this request.