#ifndef _NTIOAPI_H
/**
* The FILE_MODE_INFORMATION structure is used to query or set the access mode of a file.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_mode_information
*/
typedef struct _FILE_MODE_INFORMATION
{
ULONG Mode;
} FILE_MODE_INFORMATION, *PFILE_MODE_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.