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. Private Struct
Software
Private Struct
std.zig.WindowsSdk.Registry.Software
constSoftware = struct
This does not correspond to HKEY_LOCAL_MACHINE/HKEY_CURRENT_USER since WOW64 redirection is applicable to e.g. HKLM\Software instead of HKLM/HKCU directly. Since we are only ever interested in the Software key, it makes more sense to treat Software as the "root" since that allows us to work entirely with relative paths that are agnostic to WOW6432Node redirection.
This does not correspond to HKEY_LOCAL_MACHINE/HKEY_CURRENT_USER since WOW64 redirection is applicable to e.g.
HKLM\Softwareinstead of HKLM/HKCU directly. Since we are only ever interested in theSoftwarekey, it makes more sense to treatSoftwareas the "root" since that allows us to work entirely with relative paths that are agnostic to WOW6432Node redirection.