REPARSE_GUID_DATA_BUFFER structure (winnt.h)

Contains information about a reparse point. It is used by the FSCTL_GET_REPARSE_POINT control code.

Syntax

typedef struct _REPARSE_GUID_DATA_BUFFER {
  DWORD  ReparseTag;
  WORD   ReparseDataLength;
  WORD   Reserved;
  GUID   ReparseGuid;
  struct {
    BYTE DataBuffer[1];
  } GenericReparseBuffer;
} REPARSE_GUID_DATA_BUFFER, *PREPARSE_GUID_DATA_BUFFER;

Members

ReparseTag

The reparse point tag. This member identifies the structure of the user-defined reparse data. For more information, see Reparse Point Tags.

ReparseDataLength

The size of the reparse data in the DataBuffer member, in bytes. This value may vary with different tags and may vary between two uses of the same tag.

Reserved

Reserved; do not use.

ReparseGuid

A GUID that uniquely identifies the reparse point. When setting a reparse point, the application must provide a non-NULL GUID in the ReparseGuid member. When retrieving a reparse point from the file system, ReparseGuid is the GUID assigned when the reparse point was set.

GenericReparseBuffer

GenericReparseBuffer.DataBuffer[1]

The user-defined data for the reparse point. The contents are determined by the reparse point implementer. The tag in the ReparseTag member and the GUID in the ReparseGuid member indicate how the data is to be interpreted.

Remarks

The REPARSE_GUID_DATA_BUFFER structure is used by all third-party layered drivers to store data for a reparse point. Each reparse point contains one instance of a REPARSE_GUID_DATA_BUFFER structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

FSCTL_GET_REPARSE_POINT

Reparse Points