From 0f2466e6fb17f6e9a5c8d625bfb28c65a8c7c51a Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 6 Jul 2018 21:20:23 -0500 Subject: [PATCH] windows.user32: Fix signature of LoadCursorW. Also change a couple more that weren't exactly right. Fixes #2011. --- basis/windows/user32/user32.factor | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/basis/windows/user32/user32.factor b/basis/windows/user32/user32.factor index f6ab76dfe4..fe1844802c 100644 --- a/basis/windows/user32/user32.factor +++ b/basis/windows/user32/user32.factor @@ -1813,16 +1813,14 @@ FUNCTION: HACCEL LoadAcceleratorsW ( HINSTANCE hInstance, LPCTSTR lpTableName ) ! FUNCTION: LoadCursorFromFileW -! FUNCTION: HCURSOR LoadCursorW ( HINSTANCE hInstance, LPCWSTR lpCursorName ) -FUNCTION: HCURSOR LoadCursorW ( HINSTANCE hInstance, ushort lpCursorName ) +FUNCTION: HCURSOR LoadCursorW ( HINSTANCE hInstance, LPCWSTR lpCursorName ) ALIAS: LoadCursor LoadCursorW -! FUNCTION: HICON LoadIconA ( HINSTANCE hInstance, LPCTSTR lpIconName ) -FUNCTION: HICON LoadIconW ( HINSTANCE hInstance, LPCTSTR lpIconName ) +FUNCTION: HICON LoadIconW ( HINSTANCE hInstance, LPCWSTR lpIconName ) ALIAS: LoadIcon LoadIconW ! FUNCTION: LoadImageA -FUNCTION: HANDLE LoadImageW ( HINSTANCE hinst, LPCTSTR lpszName, UINT uType, int cxDesired, int cyDesired, UINT fuLoad ) +FUNCTION: HANDLE LoadImageW ( HINSTANCE hinst, LPCWSTR lpszName, UINT uType, int cxDesired, int cyDesired, UINT fuLoad ) ALIAS: LoadImage LoadImageW ! FUNCTION: LoadKeyboardLayoutA ! FUNCTION: LoadKeyboardLayoutEx -- 2.34.1