#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;
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
This structure is documented in Windows Driver Kit.
The FILE_ALIGNMENT_INFORMATION structure is used as an argument to the ZwQueryInformationFile routine.
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.