Skip to content

Commit db5562d

Browse files
wooster0Vexu
authored andcommitted
std.os.windows: fix HANDLER_ROUTINE callconv
1 parent 32d755b commit db5562d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/os/windows.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3695,4 +3695,4 @@ pub const CTRL_CLOSE_EVENT: DWORD = 2;
36953695
pub const CTRL_LOGOFF_EVENT: DWORD = 5;
36963696
pub const CTRL_SHUTDOWN_EVENT: DWORD = 6;
36973697

3698-
pub const HANDLER_ROUTINE = std.meta.FnPtr(fn (dwCtrlType: DWORD) callconv(.C) BOOL);
3698+
pub const HANDLER_ROUTINE = std.meta.FnPtr(fn (dwCtrlType: DWORD) callconv(WINAPI) BOOL);

0 commit comments

Comments
 (0)