1 (cl:in-package w32apimod
)
3 (define-w32api-module win95.cursor
:win95.cursor
)
5 (cl:in-package cl-w32api.module.win95.cursor
)
7 (require-and-inherit-module "win95.~")
9 (defconstant-exported IDC_ARROW
(MAKEINTRESOURCE 32512))
10 (defconstant-exported IDC_IBEAM
(MAKEINTRESOURCE 32513))
11 (defconstant-exported IDC_WAIT
(MAKEINTRESOURCE 32514))
12 (defconstant-exported IDC_CROSS
(MAKEINTRESOURCE 32515))
13 (defconstant-exported IDC_UPARROW
(MAKEINTRESOURCE 32516))
14 (defconstant-exported IDC_SIZENWSE
(MAKEINTRESOURCE 32642))
15 (defconstant-exported IDC_SIZENESW
(MAKEINTRESOURCE 32643))
16 (defconstant-exported IDC_SIZEWE
(MAKEINTRESOURCE 32644))
17 (defconstant-exported IDC_SIZENS
(MAKEINTRESOURCE 32645))
18 (defconstant-exported IDC_SIZEALL
(MAKEINTRESOURCE 32646))
19 (defconstant-exported IDC_NO
(MAKEINTRESOURCE 32648))
20 (defconstant-exported IDC_HAND
(MAKEINTRESOURCE 32649))
21 (defconstant-exported IDC_APPSTARTING
(MAKEINTRESOURCE 32650))
22 (defconstant-exported IDC_HELP
(MAKEINTRESOURCE 32651))
23 (defconstant-exported IDC_ICON
(MAKEINTRESOURCE 32641))
24 (defconstant-exported IDC_SIZE
(MAKEINTRESOURCE 32640))
26 (defcfunex-exported ("ClipCursor" ClipCursor
:convention
:stdcall
) :int
29 (defcfunex-exported ("CreateCursor" CreateCursor
:convention
:stdcall
) :pointer
38 (defcfunex-exported ("DestroyCursor" DestroyCursor
:convention
:stdcall
) :int
41 (defcfunex-exported ("GetClipCursor" GetClipCursor
:convention
:stdcall
) :int
44 (defcfunex-exported ("GetCursor" GetCursor
:convention
:stdcall
) :pointer
)
46 (defcfunex-exported ("GetCursorPos" GetCursorPos
:convention
:stdcall
) :int
49 (defcfunex-exported ("LoadCursorA" LoadCursorA
:convention
:stdcall
) HCURSOR
50 (|hInstance| HINSTANCE
)
51 (|lpCursorName| ASTRING
))
53 (defcfunex-exported ("LoadCursorW" LoadCursorW
:convention
:stdcall
) HCURSOR
54 (|hInstance| HINSTANCE
)
55 (|lpCursorName| WSTRING
))
57 (define-abbrev-exported LoadCursor LoadCursorW
)
59 (defcfunex-exported ("LoadCursorFromFileA" LoadCursorFromFileA
:convention
:stdcall
) :pointer
62 (defcfunex-exported ("LoadCursorFromFileW" LoadCursorFromFileW
:convention
:stdcall
) :pointer
65 (defcfunex-exported ("SetCursor" SetCursor
:convention
:stdcall
) :pointer
68 (defcfunex-exported ("SetCursorPos" SetCursorPos
:convention
:stdcall
) :int
72 (defcfunex-exported ("SetSystemCursor" SetSystemCursor
:convention
:stdcall
) :int
74 (arg1 :unsigned-long
))
76 (defcfunex-exported ("ShowCursor" ShowCursor
:convention
:stdcall
) :int