27 Jan
2023
27 Jan
'23
12:02 p.m.
Jacek Caban (@jacek) commented about dlls/win32u/tests/win32u.c:
PostMessageA( hwnd, WM_USER, 0, 0 ); }
+static void test_NtUserEnableMouseInPointer_process( const char *arg ) +{ + HANDLE win32u = GetModuleHandleW( L"win32u" ); + DWORD enable = strtoul( arg, 0, 10 ); + BOOL ret; + + pNtUserEnableMouseInPointer = (void *)GetProcAddress( win32u, "NtUserEnableMouseInPointer" );
You could just use importlib linking for that (you're not handling missing entry anyway). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1844#note_22159