SplCreateDevice Return Value - rc
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_NAME (123)
The computer name
is invalid.
ERROR_INVALID_LEVEL (124)
The level parameter
is invalid.
NERR_NetNotStarted (2102)
The network program
is not started.
NERR_BufTooSmall (2123)
The API return buffer
is too small.
NERR_DestExists (2153)
The print device already
exists.
NERR_DestNoRoom (2157)
The maximum number
of print devices has been reached.
NERR_DestInvalidState (2162)
This operation
cannot be performed on the print device.
NERR_SpoolNoMemory (2165)
A spooler memory
allocation failure occurred.
NERR_DriverNotFound (2166)
The device driver
does not exist.
NERR_BadDev (2341)
The device is already in
use as a communications device.
NERR_InvalidComputer (2351)
The computer name
is invalid.
[Back: SplCreateDevice Parameter - cbBuf]
[Next: SplCreateDevice - Parameters]