Possible returns from WinGetLastError
PMERR_INVALID_PARM (0x1303)
A parameter to the function
contained invalid data.
PMERR_SPL_QUEUE_ERROR (0x4004)
No spooler queue supplied or found.
PMERR_ENDDOC_NOT_ISSUED
(0x210B)
A request to close the spooled output without
first issuing a an ENDDOC was attempted.
PMERR_SPL_INV_HSPL
(0x4005)
The spooler handle is invalid.
[Back: SplQmStartDoc - Parameters]
[Next: SplQmStartDoc - Related Functions]