3.2.5.3.3.2.3 Sending a Document Properties Callback Request

When the request to the client printer driver that was started in the ASYNC_DOC_PROPS_REQ (as specified in section 3.2.5.3.3.2.1) finishes, the client sends this request to the server indicating the successful completion of the call. This request contains a DEVMODE that has been acquired by the printer driver and has to be returned in the Devmode field of this response. If the data in the Devmode parameter is more than specified in the OutputDevModeSizeProvided of the request, ReturnValue indicates that the required data size and ErrorCode MUST be set to ERROR_INSUFFICIENT_BUFFER. Otherwise, ReturnValue contains the return code that the driver returns when acquiring document properties, and ErrorCode contains the error code returned by the driver.