DFS_GET_PKT_ENTRY_STATE_ARG structure (lmdfs.h)

Input buffer used with the FSCTL_DFS_GET_PKT_ENTRY_STATE control code.

Syntax

typedef struct {
  USHORT DfsEntryPathLen;
  USHORT ServerNameLen;
  USHORT ShareNameLen;
  ULONG  Level;
  WCHAR  Buffer[1];
} DFS_GET_PKT_ENTRY_STATE_ARG, *PDFS_GET_PKT_ENTRY_STATE_ARG;

Members

DfsEntryPathLen

Length of the DFS Entry Path Unicode string in bytes stored in the Buffer parameter.

ServerNameLen

Length of the Server Name Unicode string in bytes stored in the Buffer parameter following the DFS Entry Path string.

ShareNameLen

Length of the Share Name Unicode string in bytes stored in the Buffer parameter following the Server Name string.

Level

Length of the Level string in bytes.

1

Return the DFS root or DFS link name. On return the output buffer for the FSCTL_DFS_GET_PKT_ENTRY_STATE control code contains a DFS_INFO_1 structure.

2

Return the DFS root or DFS link name, status, and the number of DFS targets. On return the output buffer for the FSCTL_DFS_GET_PKT_ENTRY_STATE control code contains a DFS_INFO_2 structure.

3

Return the DFS root or DFS link name, status, and target information. On return output buffer for the FSCTL_DFS_GET_PKT_ENTRY_STATE control code contains a DFS_INFO_3 structure.

4

Return the DFS root or DFS link name, status, GUID, time-out, and target information. On return the output buffer for the FSCTL_DFS_GET_PKT_ENTRY_STATE control code contains a DFS_INFO_4 structure.

101

Set the storage state associated with the DFS root or link specified in the DFS Entry Path string. On the return output buffer for the FSCTL_DFS_GET_PKT_ENTRY_STATE control code contains a DFS_INFO_101 structure.

Buffer[1]

On input this contains the three Unicode strings in order. The Unicode strings are not NULL terminated and there is no delimiter between the strings.

Requirements

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

See also

Distributed File System Structures

FSCTL_DFS_GET_PKT_ENTRY_STATE

NetDfsGetClientInfo