Possible returns from WinGetLastError
PMERR_SPL_QUEUE_ERROR (0x4004)
No spooler queue
supplied or found.
PMERR_SPL_NO_DATA (0x400D)
No
data supplied or found.
PMERR_SPL_INV_HSPL (0x4005)
The spooler handle is invalid.
[Back: SplQmEndDoc - Parameters]
[Next: SplQmEndDoc - Related Functions]