Zig 0.17.0-dev (Split by item)

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 library itself.

HCERTCHAINENGINE

crypt32.HCERTCHAINENGINE
pub const HCERTCHAINENGINE = enum(usize)

File

lib/std/os/windows/crypt32.zig:154

Code

pub const HCERTCHAINENGINE = enum(usize) {
    CURRENT_USER = 0x0,
    LOCAL_MACHINE = 0x1,
    SERIAL_LOCAL_MACHINE = 0x2,
    /// HANDLE
    _,

    pub fn fromHandle(handle: HANDLE) HCERTCHAINENGINE {
        return @fromBackingInt(@intCast(@intFromPtr(handle)));
    }
}