delete std.os.windows.user32

This is progress towards #4426
Closes #17417
This commit is contained in:
Andrew Kelley 2023-10-27 23:39:06 -07:00
parent e69fd4d696
commit d817a3c517
3 changed files with 1 additions and 1593 deletions

View File

@ -24,7 +24,6 @@ pub const ntdll = @import("windows/ntdll.zig");
pub const ole32 = @import("windows/ole32.zig");
pub const psapi = @import("windows/psapi.zig");
pub const shell32 = @import("windows/shell32.zig");
pub const user32 = @import("windows/user32.zig");
pub const ws2_32 = @import("windows/ws2_32.zig");
pub const gdi32 = @import("windows/gdi32.zig");
pub const winmm = @import("windows/winmm.zig");

File diff suppressed because it is too large Load Diff

View File

@ -609,7 +609,7 @@ pub fn call_wWinMain() std.os.windows.INT {
// There's no (documented) way to get the nCmdShow parameter, so we're
// using this fairly standard default.
const nCmdShow = std.os.windows.user32.SW_SHOW;
const nCmdShow = 5;
// second parameter hPrevInstance, MSDN: "This parameter is always NULL"
return root.wWinMain(hInstance, null, lpCmdLine, nCmdShow);