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. |
file: /Techref/os/win/api/win32/struc/src/str12_14.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/7 16:25,
18.219.99.29:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str12_14.htm"> NETINFOSTRUCT</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.