aboutsummaryrefslogtreecommitdiff
path: root/src/client.zig
blob: 958e6ef308ffdff8d235e2e47be0e358d7b4df08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const std = @import("std");
const windows = std.os.windows;

const interface = @import("interface.zig");

pub var handle: ?windows.HMODULE = null;

pub var create_interface: interface.GetInterfaceType = null;

pub fn init(module: windows.HMODULE) void {
    create_interface = @ptrCast(windows.kernel32.GetProcAddress(module, "CreateInterface"));
}