2 (cl:in-package w32apimod
)
4 (define-w32api-module win95.wndclass
:win95.wndclass
)
6 (cl:in-package cl-w32api.module.win95.wndclass
)
8 (require-and-inherit-module "win95.~")
10 (defbitfield (WNDCLASS-STYLES UINT
)
11 (:BYTEALIGNCLIENT
4096)
12 (:BYTEALIGNWINDOW
8192)
26 (defcstructex-exported WNDCLASSA
27 (style WNDCLASS-STYLES
)
28 (lpfnWndProc :pointer
)
34 (hbrBackground HBRUSH
)
35 (lpszMenuName ASTRING
)
36 (lpszClassName ASTRING
))
38 (defcstructex-exported WNDCLASSW
39 (style WNDCLASS-STYLES
)
40 (lpfnWndProc :pointer
)
46 (hbrBackground HBRUSH
)
47 (lpszMenuName WSTRING
)
48 (lpszClassName WSTRING
))
50 (defcstructex-exported WNDCLASSEXA
52 (style WNDCLASS-STYLES
)
53 (lpfnWndProc :pointer
)
59 (hbrBackground HBRUSH
)
60 (lpszMenuName ASTRING
)
61 (lpszClassName ASTRING
)
64 (defcstructex-exported WNDCLASSEXW
66 (style WNDCLASS-STYLES
)
67 (lpfnWndProc :pointer
)
73 (hbrBackground HBRUSH
)
74 (lpszMenuName WSTRING
)
75 (lpszClassName WSTRING
)
78 (defcfunex-exported ("GetClassInfoA" GetClassInfoA
:convention
:stdcall
) :int
83 (defcfunex-exported ("GetClassInfoExA" GetClassInfoExA
:convention
:stdcall
) :int
88 (defcfunex-exported ("GetClassInfoW" GetClassInfoW
:convention
:stdcall
) :int
93 (defcfunex-exported ("GetClassInfoExW" GetClassInfoExW
:convention
:stdcall
) :int
98 (defcfunex-exported ("GetClassLongA" GetClassLongA
:convention
:stdcall
) :unsigned-long
102 (defcfunex-exported ("GetClassLongW" GetClassLongW
:convention
:stdcall
) :unsigned-long
107 (defcfunex-exported ("GetClassNameA" GetClassNameA
:convention
:stdcall
) :int
109 (lpClassName :string
)
112 (defcfunex-exported ("GetClassNameW" GetClassNameW
:convention
:stdcall
) :int
117 (defcfunex-exported ("GetClassWord" GetClassWord
:convention
:stdcall
) :unsigned-short
121 (defcfunex-exported ("RegisterClassA" RegisterClassA
:convention
:stdcall
) ATOM_T
124 (defcfunex-exported ("RegisterClassW" RegisterClassW
:convention
:stdcall
) ATOM_T
127 (defcfunex-exported ("RegisterClassExA" RegisterClassExA
:convention
:stdcall
) ATOM_T
130 (defcfunex-exported ("RegisterClassExW" RegisterClassExW
:convention
:stdcall
) ATOM_T
133 (define-abbrev-exported RegisterClassEx RegisterClassExW
)
135 (defcfunex-exported ("SetClassLongA" SetClassLongA
:convention
:stdcall
) :unsigned-long
140 (defcfunex-exported ("SetClassLongW" SetClassLongW
:convention
:stdcall
) :unsigned-long
145 (defcfunex-exported ("SetClassWord" SetClassWord
:convention
:stdcall
) :unsigned-short
148 (arg2 :unsigned-short
))
150 (defcfunex-exported ("SetWindowWord" SetWindowWord
:convention
:stdcall
) :unsigned-short
153 (arg2 :unsigned-short
))
155 (defcfunex-exported ("UnregisterClassA" UnregisterClassA
:convention
:stdcall
) :int
159 (defcfunex-exported ("UnregisterClassW" UnregisterClassW
:convention
:stdcall
) :int