mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:26:00 +00:00
[PROGMAN][CRT][USER32] Do not use LoadLibraryEx() NT6+ flags (#3152)
CORE-12004
This commit is contained in:
parent
aad9bb8e8a
commit
a04831677e
3 changed files with 4 additions and 4 deletions
|
@ -1866,7 +1866,7 @@ CURSORICON_CopyImage(
|
|||
ustrRsrc.Buffer, IS_INTRESOURCE(ustrRsrc.Buffer) ? L"" : ustrRsrc.Buffer);
|
||||
|
||||
/* Get the module handle or load the module */
|
||||
hModule = LoadLibraryExW(ustrModule.Buffer, NULL, LOAD_LIBRARY_AS_IMAGE_RESOURCE | LOAD_LIBRARY_AS_DATAFILE);
|
||||
hModule = LoadLibraryExW(ustrModule.Buffer, NULL, /* NT6+: LOAD_LIBRARY_AS_IMAGE_RESOURCE | */ LOAD_LIBRARY_AS_DATAFILE);
|
||||
if (!hModule)
|
||||
{
|
||||
DWORD err = GetLastError();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue