The NETINFOSTRUCT structure is used in the WNetGetNetworkInformation function to describe the behavior of the network.
typedef struct _NETINFOSTRUCT{
DWORD cbStructure;
DWORD dwProviderVersion;
DWORD dwStatus;
DWORD dwCharacteristics;
DWORD dwHandle;
WORD wNetType;
DWORD dwPrinters;
DWORD dwDrives;
} NETINFOSTRUCT, *LPNETINFOSTRUCT;
Value |
Meaning |
WN_SUCCESS |
The network is up and running. |
WN_NO_NETWORK |
The network is not currently running. |
WN_FUNCTION_BUSY |
The network is not currently able to service requests, but should become available. This usually means that the network is starting up. |
dwCharacteristics
Characteristics of the network provider software. This is always set to 0.
Windows 95: This member has one or more of the following bit values:
Value |
Meaning |
NETINFO_DLL16 |
The network provider is running as a 16-bit Windows net driver. |
NETINFO_DISKRED |
The network provider requires a local disk drive device redirected to access server file systems. |
NETINFO_PRINTERRED |
The network provider requires a local printer port redirected to access server file systems. |