From: Doug Coleman Date: Sat, 7 Jul 2018 02:20:23 +0000 (-0500) Subject: windows.user32: Fix signature of LoadCursorW. X-Git-Tag: 0.98~55 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=0f2466e6fb17f6e9a5c8d625bfb28c65a8c7c51a windows.user32: Fix signature of LoadCursorW. Also change a couple more that weren't exactly right. Fixes #2011. --- 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