Commit 20c1696865

Jens Goldberg <jens.goldberg@gmail.com>
2020-05-07 13:25:09
Removed GetModuleHandleA from user32
GetModuleHandleA is an kernel32 function and already defined there, it doesn't belong in user32.
1 parent 25810bc
Changed files (1)
lib
std
os
windows
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;