DLLmain - missing procedure
Posted: Mon Mar 02, 2026 11:38 am
I noticed there is one procedure missing.
In help file:
PROCESS_VERIFIER. It's used by windows for IFEO settings.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sample.exe
entries GlobalFlag and VerifierDlls
additonal informations:
https://scorpiosoftware.net/2024/06/01/ ... ifier-dll/
https://github.com/zodiacon/VerifierDLL ... llmain.cpp
In help file:
Yes, that's all right. But a 5th procedure/option is missing. It should be:For advanced programmers: there is 4 special procedures which are called automatically by the OS when one of the following events happen:
- DLL is attached to a new process
- DLL is detached from a process
- DLL is attached to a new thread
- DLL is detached from a thread
To handle that, it's possible to declare 4 special procedures called: AttachProcess(Instance), DetachProcess(Instance), AttachThread(Instance) and DetachThread(Instance). This means these 4 procedures names are reserved and can't be used by the programmer for other purposes.
PROCESS_VERIFIER. It's used by windows for IFEO settings.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sample.exe
entries GlobalFlag and VerifierDlls
additonal informations:
https://scorpiosoftware.net/2024/06/01/ ... ifier-dll/
https://github.com/zodiacon/VerifierDLL ... llmain.cpp