DFS_STORAGE_INFO

The DFS_STORAGE_INFO structure contains the status of a share referenced by a junction point in a Distributed File System (Dfs) tree structure.

typedef struct _DFS_STORAGE_INFO {
    ULONG   State;         // state of the storage
    LPWSTR  ServerName;    // name of server exporting the storage
    LPWSTR  ShareName;     // name of share exporting the storage
} DFS_STORAGE_INFO, *PDFS_STORAGE_INFO, *LPDFS_STORAGE_INFO; 
 

Members

State
A set of bit flags that specify the status of the storage server. This member must be one of the following values.
Value Meaning
DFS_STORAGE_STATE_OFFLINE The specified computer is offline or unavailable.
DFS_STORAGE_STATE_ONLINE The specified computer is available.

ServerName
Pointer to a null-terminated Unicode character string that specifies the name of the storage server that the junction point references.
ShareName
Pointer to a null-terminated Unicode character string that specifies the name of the share on the storage server that the junction point references.

Remarks

A DFS_INFO_3 structure contains one or more DFS_STORAGE_INFO structures, one for each alternate path specified for the Dfs junction point.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmdfs.h.

See Also

Networking (Net) Overview, Net Structures, DFS_INFO_3, NetDfsEnum, NetDfsGetInfo