DFS_INFO_1 structure

Contains the name of a Distributed File System (DFS) root or link. This structure is only for use with the NetDfsEnum, NetDfsGetClientInfo, and NetDfsGetInfo functions and the FSCTL_DFS_GET_PKT_ENTRY_STATE control code.

Syntax


typedef struct _DFS_INFO_1 {
  LPWSTR EntryPath;
} DFS_INFO_1, *PDFS_INFO_1, *LPDFS_INFO_1;

Members

EntryPath

Pointer to a null-terminated Unicode string that specifies the Universal Naming Convention (UNC) path of a DFS root or link.

For a link, the string can be in one of two forms. The first form is as follows:

\\ServerName\DfsName\link_path

where ServerName is the name of the root target server that hosts the stand-alone DFS namespace; DfsName is the name of the DFS namespace; and link_path is a DFS link.

The second form is as follows:

\\DomainName\DomDfsname\link_path

where DomainName is the name of the domain that hosts the domain-based DFS namespace; DomDfsname is the name of the DFS namespace; and link_path is a DFS link.

For a root, the string can be in one of two forms:

\\ServerName\DfsName

or

\\DomainName\DomDfsname

where the values of the names are the same as those described previously.

Remarks

The DFS functions use the DFS_INFO_1 structure to retrieve information about a DFS root or link.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

LmDfs.h (include LmDfs.h or Lm.h)

See also

Network Management Overview
Network Management Structures
Distributed File System (DFS) Functions
NetDfsEnum
NetDfsGetInfo
NetDfsGetClientInfo

 

 

Show: