A bit array indicating
the type of resources to enumerate. All other server type bits are reserved
and must be 0.
Resource type bit mask definitions:
NET_AUTHENTICATED(0x00000001)
Enumerate authenticated
resources only.
NET_TYPE_DISK(0x00000010)
NET_TYPE_QUEUE(0x00000020)
NET_TYPE_SERIAL(0x00000040)
ulLevel (ULONG) - input
The level of detail
required. This must be 1 or 2.
pBuf (PVOID) - in/out
If level 1, the buffer
that contains the RESOURCEINFO1 data
structures. If level 2, the buffer that contains the RESOURCEINFO2
data structures.
cbBuf (ULONG) - input
The size, in bytes,
of the buffer.
pcReturned (PULONG) - output
The number of
entries returned.
pcTotal (PULONG) - output
The number of entries
available.
pcbNeeded (PULONG) - output
The size, in
bytes, of available information.
pReserved1 (PVOID) - output
Reserved for
future use and must be 0.
pReserved2 (PVOID) - output
ulreturns (ULONG) - returns
A network driver is not limited to just these errors. Network drivers will
return the following errors when they occur, but other error numbers can
be returned for errors not listed.
EXIT_SUCCESS(0)
No errors were encountered.
ERROR_ACCESS_DENIED(5)
ERROR_NOT_ENOUGH_MEMORY(8)
Not enough storage
available to process this function.
ERROR_BAD_NETPATH(53)
The network path was
not found.
ERROR_INVALID_PARAMETER(87)
The specified
parameter is invalid.
ERROR_INVALID_LEVEL(124)
The level parameter
is invalid.
ERROR_MORE_DATA(234)
Additional data is available,
but the buffer is too small.
ERROR_NETWORK_NOT_FOUND(241)
The specified
network is invalid. .
[Back: NetworkEnumResource Return Value - ulreturns]
[Next: NetworkEnumResource - Topics]