|
@@ -237,6 +237,10 @@ GET_NCHITTEST_WPARAM :: #force_inline proc "contextless" (wParam: WPARAM) -> c_s
|
|
|
return cast(c_short)LOWORD(cast(DWORD)wParam)
|
|
|
}
|
|
|
|
|
|
-GET_XBUTTON_WPARAM :: #force_inline proc "contextless" (wParam: WPARAM) -> WORD {
|
|
|
+GET_XBUTTON_WPARAM :: #force_inline proc "contextless" (wParam: WPARAM) -> WORD {
|
|
|
return HIWORD(cast(DWORD)wParam)
|
|
|
}
|
|
|
+
|
|
|
+MAKEINTRESOURCEW :: #force_inline proc "contextless" (#any_int i: int) -> LPWSTR {
|
|
|
+ return cast(LPWSTR)uintptr(WORD(i))
|
|
|
+}
|