fn DllMainCRTStartup( hinstDLL: std.os.windows.HINSTANCE, fdwReason: std.os.windows.DWORD, lpReserved: std.os.windows.LPVOID, ) callconv(.winapi) std.os.windows.BOOL
fn 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; }