all comments are notes, and use doc comments where possible

This commit is contained in:
Andrew Kelley 2025-12-19 10:02:27 -08:00
parent edcbd7ed2c
commit 07c4ea2de0

View file

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