FILE_ALIGNMENT_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

/**
 * The FILE_ALIGNMENT_INFORMATION structure is used to query or set the buffer alignment required by the underlying device.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-_file_alignment_information
 */
typedef struct _FILE_ALIGNMENT_INFORMATION
{
    ULONG AlignmentRequirement;
} FILE_ALIGNMENT_INFORMATION, *PFILE_ALIGNMENT_INFORMATION;

#endif

View code on GitHub
// ntddk.h

typedef struct _FILE_ALIGNMENT_INFORMATION {
  ULONG AlignmentRequirement;
} FILE_ALIGNMENT_INFORMATION, *PFILE_ALIGNMENT_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntddk-_file_alignment_information)

_FILE_ALIGNMENT_INFORMATION structure

Description

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

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.

See also

DEVICE_OBJECT

ZwQueryInformationFile

ZwSetInformationFile