Identifies the network provider that owns the resource
_WinNet_GetResourceInformation ( $sRemoteName [, $sProvider = "" [, $iType = 0]] )
|$sRemoteName||The remote path name of the resource|
|$sProvider||[optional] The name of the provider that owns the resource.
This member can be blank if the provider name is unknown.
|$iType||[optional] Type of resource.
This member can be 0 if it is not known.
|Success:||an array with the following format:
$aResource - Scope of enumeration:
0 - Connected
1 - All resources
2 - Remembered
$aResource - Type of resource:
0 - Disk
1 - Print
2 - Unknown
$aResource - Display option:
0 - Generic
1 - Domain
2 - Server
3 - Share
4 - File
5 - Group
6 - Network
7 - Root
8 - Admin Share
9 - Directory
10 - Tree
11 - NDS Container
$aResource - Resource usage. Can be one or more of the following:
1 - The resource is a connectable resource
2 - The resource is a container resource
4 - The resource is attached
8 - The resource is reserved
$aResource - Local name
$aResource - Remote name
$aResource - Comment supplied by the network provider
$aResource - The name of the provider that owns the resource
$aResource - The part of the resource that is accessed through system functions
|Failure:||sets the @error flag to non-zero.|
Search WNetGetResourceInformation in MSDN Library.