From 20c1696865fc859e4f02a1f7a3e2e4bf4177a2d8 Mon Sep 17 00:00:00 2001 From: Jens Goldberg Date: Thu, 7 May 2020 11:25:09 +0000 Subject: [PATCH] Removed GetModuleHandleA from user32 GetModuleHandleA is an kernel32 function and already defined there, it doesn't belong in user32. --- lib/std/os/windows/user32.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/std/os/windows/user32.zig b/lib/std/os/windows/user32.zig index 7b8292246..3877e19ad 100644 --- a/lib/std/os/windows/user32.zig +++ b/lib/std/os/windows/user32.zig @@ -146,7 +146,6 @@ pub extern "user32" fn CreateWindowExA( pub extern "user32" fn RegisterClassExA(*const WNDCLASSEXA) callconv(.Stdcall) c_ushort; pub extern "user32" fn DefWindowProcA(HWND, Msg: UINT, WPARAM, LPARAM) callconv(.Stdcall) LRESULT; -pub extern "user32" fn GetModuleHandleA(lpModuleName: ?LPCSTR) callconv(.Stdcall) HMODULE; pub extern "user32" fn ShowWindow(hWnd: ?HWND, nCmdShow: i32) callconv(.Stdcall) bool; pub extern "user32" fn UpdateWindow(hWnd: ?HWND) callconv(.Stdcall) bool; pub extern "user32" fn GetDC(hWnd: ?HWND) callconv(.Stdcall) ?HDC;