Platform SDK: Network Management |
The DFS_INFO_2 structure contains information about a Distributed File System (Dfs) link in a named Dfs root. The information includes Dfs name, status, and the number of Dfs paths associated with the link.
typedef struct _DFS_INFO_2 { LPWSTR EntryPath; LPWSTR Comment; DWORD State; DWORD NumberOfStorages; } DFS_INFO_2, *PDFS_INFO_2, *LPDFS_INFO_2;
\\Dfsname\sharename\path_to_link
where Dfsname is the name of a Windows NT/Windows 2000 server that hosts the root of a stand-alone Dfs implementation; sharename is the name of a share published on the Dfs host server; and path_to_link specifies the path on the physical share.
The second form is as follows:
\\DomainName\DomDfsname\path_to_link
where DomainName is the name of a Windows NT/Windows 2000 domain that hosts the Dfs root; DomDfsname is the name of the root of a domain-based Dfs implementation published in the domain's directory service; and path_to_link specifies the path on the physical share.
Windows 95/98: The DomDfsname must be identical to the name of the share that hosts the root of the domain-based Dfs.
Value | Meaning |
---|---|
DFS_VOLUME_STATE_OK | The specified Dfs link is in the normal state. |
DFS_VOLUME_STATE_INCONSISTENT | The internal Dfs database is inconsistent with the specified Dfs link. Attempts to repair the inconsistency have failed. |
DFS_VOLUME_STATE_OFFLINE | The specified Dfs link is offline or unavailable. |
DFS_VOLUME_STATE_ONLINE | The specified Dfs link is available. |
The Dfs functions use the DFS_INFO_2 structure to retrieve information about a Dfs link.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmdfs.h.
Network Management Overview, Network Management Structures, Distributed File System (Dfs) Functions, NetDfsEnum, NetDfsGetInfo, NetDfsGetClientInfo