diff --git a/util_windows.go b/util_windows.go index 08951ef..e7789c1 100644 --- a/util_windows.go +++ b/util_windows.go @@ -66,7 +66,7 @@ var ( systemParametersInfo = user32.NewProc("SystemParametersInfoW") setWindowPos = user32.NewProc("SetWindowPos") getWindowRect = user32.NewProc("GetWindowRect") - setWindowLong = user32.NewProc("SetWindowLongPtrW") + setWindowLong = user32.NewProc("SetWindowLongW") getSystemMetrics = user32.NewProc("GetSystemMetrics") unregisterClass = user32.NewProc("UnregisterClassW") registerClassEx = user32.NewProc("RegisterClassExW")