tunedal
07/02/2017, 1:03 PMLPWSTR
argument, which gets turned into a String?
argument by the interop wrapper, but you're supposed to be able to pass the predefined constant IDC_ARROW
, defined like this:
#define MAKEINTRESOURCEW(i) ((LPWSTR)((ULONG_PTR)((WORD)(i))))
#define IDC_ARROW MAKEINTRESOURCEW(32512)
tunedal
07/02/2017, 4:14 PMkni_LoadCursorW
from the generated interop wrapper and change the NativePtr
parameter to a Long
. Is that a sensible way to do it?
@SymbolName("win32_kni_LoadCursorW")
private external fun kni_LoadCursorW(hInstance: NativePtr, lpCursorName: Long): NativePtr
olonho
07/03/2017, 7:35 AM