LONG DrvQuerySpoolType(
IN DHPDEV dhpdev, | |
IN OUT LPWSTR pwszDatatype | |
); |
DrvQuerySpoolType retrieves the data type that the driver will use to spool a print job.
DrvQuerySpoolType returns TRUE upon success; it returns FALSE if it fails.
DrvQuerySpoolType allows a driver to specify the data type that it will use to write a print job. If a driver does not export DrvQuerySpoolType, and an application does not otherwise request a certain data type, the default data type of RAW is used to spool the job.
The size of the buffer to which pwszDatatype points is 80 characters.
Printer drivers can optionally implement this function.