mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
1a1025011f
Fix wrong MAKEINTRESOURCEW() macro usage cases in LoadCursorW() system-wide. MSDN documentation for this function states we need to use MAKEINTRESOURCEW() macro only for internal application-defined cursors (loaded from the app instance specified by hInstance parameter), but not for system-defined cursors (those begin with IDC_* prefix), in case when hInstance is NULL. So get rid from MAKEINTRESOURCEW() macro usage for all cases when hInstance parameter is NULL. And on the contrary, when hInstance is valid and points to the application instance, then use it for the resource identifier. |
||
---|---|---|
.. | ||
concfg | ||
consrv | ||
usersrv | ||
CMakeLists.txt | ||
consrv.cmake | ||
init.c | ||
usersrv.cmake | ||
winsrv.h | ||
winsrv.rc | ||
winsrv.spec |