| ... | @@ -215,6 +215,10 @@ pub const FILE = struct { | ... | @@ -215,6 +215,10 @@ pub const FILE = struct { |
| 215 | AccessFlags: ACCESS_MASK, | 215 | AccessFlags: ACCESS_MASK, |
| 216 | }; | 216 | }; |
| 217 | | 217 | |
| | 218 | // Note: This is not separated into RENAME_INFORMATION and RENAME_INFORMATION_EX because |
| | 219 | // the only difference is the `Flags` type (BOOLEAN before _EX, ULONG in the _EX), |
| | 220 | // which doesn't affect the struct layout--the offset of RootDirectory is the same |
| | 221 | // regardless. |
| 218 | pub const RENAME_INFORMATION = extern struct { | 222 | pub const RENAME_INFORMATION = extern struct { |
| 219 | Flags: FLAGS, | 223 | Flags: FLAGS, |
| 220 | RootDirectory: ?HANDLE, | 224 | RootDirectory: ?HANDLE, |