USN_RECORD_UNION union (ntifs.h)

The USN_RECORD_UNION is a union that encapsulates different versions of USN record structures. It provides a flexible way to handle USN records of varying formats.

Syntax

typedef union {
  USN_RECORD_COMMON_HEADER Header;
  USN_RECORD_V2            V2;
  USN_RECORD_V3            V3;
  USN_RECORD_V4            V4;
} USN_RECORD_UNION, *PUSN_RECORD_UNION;

Members

Header

A USN_RECORD_COMMON_HEADER structure that provides common header information for USN records. This member is useful for accessing shared fields across different USN record versions.

V2

A USN_RECORD_V2 structure representing the version 2 format of a USN record.

V3

A USN_RECORD_V3 structure representing the version 3 format of a USN record.

V4

A USN_RECORD_V4 structure representing the version 4 format of a USN record.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Header ntifs.h

See also

FSCTL_READ_USN_JOURNAL