Platform SDK: Hardware

CREATE_USN_JOURNAL_DATA

The CREATE_USN_JOURNAL_DATA structure contains information describing an NTFS change journal.

typedef struct {
  DWORDLONG MaximumSize;
  DWORDLONG AllocationDelta;
} CREATE_USN_JOURNAL_DATA, *PCREATE_USN_JOURNAL_DATA;

Members

MaximumSize
Target maximum size, in bytes, that NTFS allocates for the change journal. The change journal can grow larger than this value, but it is then truncated at the next NTFS checkpoint to less than this value.
AllocationDelta
Size, in bytes, of memory allocation that is added to the end and removed from the beginning of the change journal. The change journal can grow to more than the sum of the values of MaximumSize and AllocationDelta before being trimmed.

Remarks

If you specify zero for MaximumSize and AllocationData, the system will choose a default value based on the volume size.

For more information on the use of CREATE_USN_JOURNAL_DATA, see Creating, Modifying, and Deleting a Change Journal.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winioctl.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, DeviceIoControl, FSCTL_CREATE_USN_JOURNAL