We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FARPROC WINAPI DelayLoadHook(unsigned dliNotify, PDelayLoadInfo pdli); extern "C" decltype(__pfnDliNotifyHook2) __pfnDliNotifyHook2 = DelayLoadHook; FARPROC WINAPI DelayLoadHook(unsigned dliNotify, PDelayLoadInfo pdli) { switch (dliNotify) { case dliNotePreLoadLibrary: { } break; case dliFailGetProc: { } break; } return nullptr; } BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: { DisableThreadLibraryCalls(hModule); // Disable DLL_THREAD_ATTACH and DLL_THREAD_DETACH messages } break; case DLL_THREAD_ATTACH: { } break; case DLL_THREAD_DETACH: { } break; case DLL_PROCESS_DETACH: { } break; } return TRUE; }
FARPROC WINAPI DelayLoadHook(unsigned dliNotify, PDelayLoadInfo pdli); extern "C" decltype(__pfnDliNotifyHook2) __pfnDliNotifyHook2 = DelayLoadHook;
The text was updated successfully, but these errors were encountered:
extern "C" decltype(__pfnDliNotifyHook2) __pfnDliNotifyHook2 = DelayLoadHook; seems to be the problem.
extern "C" decltype(__pfnDliNotifyHook2) __pfnDliNotifyHook2 = DelayLoadHook;
Sorry, something went wrong.
No branches or pull requests
The following code causes an exception in the script:
it runs well without
The text was updated successfully, but these errors were encountered: