please dont rip this site Prev Next

NETINFOSTRUCT info  Overview  Group

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;

Members

cbStructure
The size, in bytes, of the NETINFOSTRUCT structure. The amount is filled in by the caller to indicate the size of the structure passed in. Upon return, it has the size of the structure filled in.
dwProviderVersion
The version number of the network.
dwStatus
The current status of the network provider software. This member can be one of the following values:

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.

dwHandle
The instance handle for the network provider or 16-bit Windows net driver for the network.
wNetType
A network type unique to the network being run. This value associates resources with a specific network when they are persistent or stored in links.
dwPrinters
A bit mask indicating the valid print numbers for redirecting local printer devices, with the lowest-order bit corresponding to LPT1.
Windows 95: This is always set to 0xFFFFFFFF.
dwDrives
A 32-bit mask indicating the valid local disk devices for redirecting disk drives, with the lowest order bit corresponding to A:.
Windows 95: This is always set to 0xFFFFFFFF.

file: /Techref/os/win/api/win32/struc/src/str12_14.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 11:50,
TOP NEW HELP FIND: 
3.16.207.192: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str12_14.htm"> NETINFOSTRUCT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?