FILE_ALIGNMENT_INFORMATION structure (ntddk.h)

The FILE_ALIGNMENT_INFORMATION structure is used as an argument to the ZwQueryInformationFile routine.

Syntax

typedef struct _FILE_ALIGNMENT_INFORMATION {
  ULONG AlignmentRequirement;
} FILE_ALIGNMENT_INFORMATION, *PFILE_ALIGNMENT_INFORMATION;

Members

AlignmentRequirement

The buffer alignment required by the underlying device. For a list of system-defined values, see DEVICE_OBJECT. The value must be one of the FILE_XXX_ALIGNMENT values defined in Wdm.h. For more information, see DEVICE_OBJECT and Initializing a Device Object.

Requirements

Requirement Value
Header ntddk.h (include Ntddk.h, Ntifs.h)

See also

DEVICE_OBJECT

ZwQueryInformationFile

ZwSetInformationFile