Export (0) Print
Expand All

DFS_STORAGE_INFO_1 structure

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 {
  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.

ValueMeaning
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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP1

Redistributable

KB 898900 on Windows Server 2003

Header

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

See also

DFS_INFO_6

 

 

Show:
© 2014 Microsoft