commit 20c1696865fc859e4f02a1f7a3e2e4bf4177a2d8 (tree)
parent 25810bc1e662014185a74282abd5881778d7a55e
Author: Jens Goldberg <jens.goldberg@gmail.com>
Date: Thu, 7 May 2020 11:25:09 +0000
Removed GetModuleHandleA from user32
GetModuleHandleA is an kernel32 function and already defined there, it doesn't belong in user32.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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;