Skip to content

Commit

Permalink
[NT:IO] Prevent DeleteFile field in FILE_DISPOSITION_INFORMATION
Browse files Browse the repository at this point in the history
…from being treated as a macro
  • Loading branch information
RatinCN committed Nov 5, 2024
1 parent 54c51be commit aeef28f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Include/KNSoft/NDK/NT/Io/Info.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,12 @@ typedef struct _FILE_COMPRESSION_INFORMATION
UCHAR Reserved[3];
} FILE_COMPRESSION_INFORMATION, *PFILE_COMPRESSION_INFORMATION;

#pragma push_macro("DeleteFile")
typedef struct _FILE_DISPOSITION_INFORMATION
{
BOOLEAN DeleteFile;
} FILE_DISPOSITION_INFORMATION, *PFILE_DISPOSITION_INFORMATION;
#pragma pop_macro("DeleteFile")

typedef struct _FILE_END_OF_FILE_INFORMATION
{
Expand Down

0 comments on commit aeef28f

Please sign in to comment.