fn DllMainCRTStartup(
hinstDLL: std.os.windows.HINSTANCE,
fdwReason: std.os.windows.DWORD,
lpReserved: std.os.windows.LPVOID,
) callconv(.winapi) std.os.windows.BOOL 93
94
95
96
97
98
99
100
101
102
103
104
105
106
107fn DllMainCRTStartup(
hinstDLL: std.os.windows.HINSTANCE,
fdwReason: std.os.windows.DWORD,
lpReserved: std.os.windows.LPVOID,
) callconv(.winapi) std.os.windows.BOOL {
if (!builtin.single_threaded) {
_ = @import("os/windows/tls.zig");
}
if (@hasDecl(root, "DllMain")) {
return root.DllMain(@ptrCast(hinstDLL), fdwReason, lpReserved);
}
return .TRUE;
}