pszComputerName (PSZ) -
input
pszQueueName (PSZ) - input
ulJob (ULONG) - input
Job
identification number.
ulLevel (ULONG) - input
Level of detail required.
This must be 0, 2, or 3.
pBuf (PVOID) - in/out
Buffer.
The returned contents of the buffer depend on the value specify in ulLevel
as follow:
ulLevel
0
2
A PRJINFO2
structure, with variable information, up to the cbBuf of pBuf
3
A PRJINFO3
structure, with variable information, up to the cbBuf of pBuf.
cbBuf (ULONG) - input
pcbNeeded (PULONG) - output
Size in bytes of available information.
rc (SPLERR) - returns
Return
code.
NO_ERROR (0)
ERROR_ACCESS_DENIED (5)
ERROR_NOT_SUPPORTED (50)
This request is not
supported by the network.
ERROR_BAD_NETPATH (53)
The network path cannot
be located.
ERROR_INVALID_PARAMETER (87)
An invalid parameter
is specified.
ERROR_INVALID_LEVEL (124)
The level parameter
is invalid.
ERROR_MORE_DATA (234)
Additional data is available.
NERR_NetNotStarted (2102)
The network program
is not started.
NERR_BufTooSmall (2123)
The API return buffer
is too small.
NERR_JobNotFound (2151)
The print job does
not exist.
NERR_SpoolerNotLoaded (2161)
The spooler is
not running.
NERR_InvalidComputer (2351)
The computer name
is invalid.
[Back: SplQueryJob Return Value - rc]
[Next: SplQueryJob - Related Functions]