Possible returns from WinGetLastError
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: SplQmClose - Parameters]
[Next: SplQmClose - Related Functions]