2.2.2.5 DFS_STORAGE_INFO
The DFS_STORAGE_INFO structure relates to the NetrDfsEnum, NetrDfsEnumEx, and NetrDfsGetInfo methods when used to enumerate DFS links and DFS targets in a namespace or to get information about a DFS link. The structure contains information about the target of a DFS root or DFS link.
The DFS_STORAGE_INFO structure has the following format.
-
typedef struct _DFS_STORAGE_INFO { unsigned long State; [string] WCHAR* ServerName; [string] WCHAR* ShareName; } DFS_STORAGE_INFO;
State: Refers to the State field of DFS_INFO_106. For more information, see section 2.2.4.6.
ServerName: The pointer to a null-terminated Unicode string containing the DFS target host name.
ShareName: The pointer to a null-terminated Unicode string containing the DFS target share name.
DFS_INFO_3 and DFS_INFO_4 structures contain one or more DFS_STORAGE_INFO structures, one for each DFS target.