DFS_STORAGE_INFO_1 structure (lmdfs.h)

Contains information about a DFS target, including the DFS target server name and share name as well as the target's state and priority.

Syntax

typedef struct _DFS_STORAGE_INFO_1 {
  ULONG               State;
  LPWSTR              ServerName;
  LPWSTR              ShareName;
  DFS_TARGET_PRIORITY TargetPriority;
} DFS_STORAGE_INFO_1, *PDFS_STORAGE_INFO_1, *LPDFS_STORAGE_INFO_1;

Members

State

State of the target. This member can be one of the following values.

DFS_STORAGE_STATE_OFFLINE (0x00000001)

The DFS storage is offline.

DFS_STORAGE_STATE_ONLINE (0x00000002)

The DFS storage is online.

DFS_STORAGE_STATES (0x0000000F)

Mask value that indicates which storage flags are set.

ServerName

Pointer to a null-terminated Unicode string that specifies the DFS root target or link target server name.

ShareName

Pointer to a null-terminated Unicode string that specifies the DFS root target or link target share name.

TargetPriority

DFS_TARGET_PRIORITY structure that contains a DFS target's priority class and rank.

Remarks

This structure is used as the Storage member of the DFS_INFO_6 structure.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008, Windows Server 2008
Header lmdfs.h (include LmDfs.h, Lm.h)

See also

DFS_INFO_6