Buffer.
The returned contents of the buffer depend on the value indicated in ulLevel
as follows:
ulLevel
0
An array of port names. Each name consists
of 9 characters, including a null terminator.
2
An array of print device names of type PSZ.
3
If no job is printing on the print
device, bits 2-11 of fsStatus in the PRDINFO3
data structure are meaningless.
cbBuf (ULONG) - input
pcReturned (PULONG) - output
Number of entries returned.
pcTotal (PULONG) - output
Number of entries available.
pcbNeeded (PULONG) - output
pReserved (PVOID) - output
Reserved value, must be NULL.
rc (SPLERR) - returns
Return
code.
NO_ERROR (0)
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_InvalidComputer (2351)
The computer name
is invalid.
[Back: SplEnumDevice Return Value - rc]
[Next: SplEnumDevice - Remarks]