Returns extended information about a specific network provider
_WinNet_GetNetworkInformation ( $sName )
|$sName||The network provider for which information is required|
|Success:||an array with the following format:
$aInfo - Version number of the network provider software
$aInfo - Current status of the network provider software:
0 - The network is running
1 - The network is unavailable
2 - The network is not currently able to service requests
$aInfo - Instance handle for the network provider
$aInfo - High word of the network type unique to the running network
$aInfo - Set of bit flags indicating the valid print numbers for redirecting local printer devices, with the low-order bit corresponding to LPT1.
$aInfo - Set of bit flags indicating the valid local disk devices that can be used for redirecting disk drives, with the low-order bit corresponding to A:.
|Failure:||sets the @error flag to non-zero.|
Search WNetGetNetworkInformation in MSDN Library.