Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

LoadOptions

Public Struct
std.os.windows.REG.LoadOptions
pub const LoadOptions = packed struct(ULONG)

Used with NtLoadKeyEx, maybe others

Fields

WHOLE_HIVE_VOLATILE: bool = false

Restore whole hive volatile

REFRESH_HIVE: bool = false

Unwind changes to last flush

NO_LAZY_FLUSH: bool = false

Never lazy flush this hive

FORCE_RESTORE: bool = false

Force the restore process even when we have open handles on subkeys

APP_HIVE: bool = false

Loads the hive visible to the calling process

PROCESS_PRIVATE: bool = false

Hive cannot be mounted by any other process while in use

START_JOURNAL: bool = false

Starts Hive Journal

HIVE_EXACT_FILE_GROWTH: bool = false

Grow hive file in exact 4k increments

HIVE_NO_RM: bool = false

No RM is started for this hive (no transactions)

HIVE_SINGLE_LOG: bool = false

Legacy single logging is used for this hive

BOOT_HIVE: bool = false

This hive might be used by the OS loader

LOAD_HIVE_OPEN_HANDLE: bool = false

Load the hive and return a handle to its root kcb

FLUSH_HIVE_FILE_GROWTH: bool = false

Flush changes to primary hive file size as part of all flushes

OPEN_READ_ONLY: bool = false

Open a hive's files in read-only mode The same flag is used for REG_APP_HIVE_OPEN_READ_ONLY: Open an app hive's files in read-only mode (if the hive was not previously loaded).

IMMUTABLE: bool = false

Load the hive, but don't allow any modification of it

NO_IMPERSONATION_FALLBACK: bool = false

Do not fall back to impersonating the caller if hive file access fails

Reserved16: u16 = 0

File

os/windows.zig:4401
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
    pub const LoadOptions = packed struct(ULONG) {
        /// Restore whole hive volatile
        WHOLE_HIVE_VOLATILE: bool = false,
        /// Unwind changes to last flush
        REFRESH_HIVE: bool = false,
        /// Never lazy flush this hive
        NO_LAZY_FLUSH: bool = false,
        /// Force the restore process even when we have open handles on subkeys
        FORCE_RESTORE: bool = false,
        /// Loads the hive visible to the calling process
        APP_HIVE: bool = false,
        /// Hive cannot be mounted by any other process while in use
        PROCESS_PRIVATE: bool = false,
        /// Starts Hive Journal
        START_JOURNAL: bool = false,
        /// Grow hive file in exact 4k increments
        HIVE_EXACT_FILE_GROWTH: bool = false,
        /// No RM is started for this hive (no transactions)
        HIVE_NO_RM: bool = false,
        /// Legacy single logging is used for this hive
        HIVE_SINGLE_LOG: bool = false,
        /// This hive might be used by the OS loader
        BOOT_HIVE: bool = false,
        /// Load the hive and return a handle to its root kcb
        LOAD_HIVE_OPEN_HANDLE: bool = false,
        /// Flush changes to primary hive file size as part of all flushes
        FLUSH_HIVE_FILE_GROWTH: bool = false,
        /// Open a hive's files in read-only mode
        /// The same flag is used for REG_APP_HIVE_OPEN_READ_ONLY:
        /// Open an app hive's files in read-only mode (if the hive was not previously loaded).
        OPEN_READ_ONLY: bool = false,
        /// Load the hive, but don't allow any modification of it
        IMMUTABLE: bool = false,
        /// Do not fall back to impersonating the caller if hive file access fails
        NO_IMPERSONATION_FALLBACK: bool = false,
        Reserved16: u16 = 0,
    }