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. |
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. |
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Use version 2.0 or later.
Header: Declared in winnetwk.h.
Windows Networking (WNet) Overview, Windows Networking Structures