@@ -3929,14 +3929,21 @@ pub const FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
3929
3929
3930
3930
pub const LPOVERLAPPED_COMPLETION_ROUTINE = ? * const fn (DWORD , DWORD , * OVERLAPPED ) callconv (.C ) void ;
3931
3931
3932
- pub const FILE_NOTIFY_CHANGE_CREATION = 64 ;
3933
- pub const FILE_NOTIFY_CHANGE_SIZE = 8 ;
3934
- pub const FILE_NOTIFY_CHANGE_SECURITY = 256 ;
3935
- pub const FILE_NOTIFY_CHANGE_LAST_ACCESS = 32 ;
3936
- pub const FILE_NOTIFY_CHANGE_LAST_WRITE = 16 ;
3937
- pub const FILE_NOTIFY_CHANGE_DIR_NAME = 2 ;
3938
- pub const FILE_NOTIFY_CHANGE_FILE_NAME = 1 ;
3939
- pub const FILE_NOTIFY_CHANGE_ATTRIBUTES = 4 ;
3932
+ pub const FileNotifyChangeFilter = packed struct (DWORD ) {
3933
+ file_name : bool = false ,
3934
+ dir_name : bool = false ,
3935
+ attributes : bool = false ,
3936
+ size : bool = false ,
3937
+ last_write : bool = false ,
3938
+ last_access : bool = false ,
3939
+ creation : bool = false ,
3940
+ ea : bool = false ,
3941
+ security : bool = false ,
3942
+ stream_name : bool = false ,
3943
+ stream_size : bool = false ,
3944
+ stream_write : bool = false ,
3945
+ _pad : u20 = 0 ,
3946
+ };
3940
3947
3941
3948
pub const CONSOLE_SCREEN_BUFFER_INFO = extern struct {
3942
3949
dwSize : COORD ,
0 commit comments