mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +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. |
||
---|---|---|
.. | ||
lang | ||
res | ||
CMakeLists.txt | ||
colors.c | ||
console.c | ||
console.h | ||
console.rc | ||
console.spec | ||
font.c | ||
layout.c | ||
options.c | ||
resource.h | ||
utils.c |