19 #define WINPROCESS_SYS_ENABLED true
22 subsys_winprocess_initialize(
void)
24 #ifndef HeapEnableTerminationOnCorruption
25 #define HeapEnableTerminationOnCorruption 1
29 HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
40 HMODULE hMod = GetModuleHandleA(
"Kernel32.dll");
42 typedef BOOL (WINAPI *PSETDEP)(DWORD);
43 PSETDEP setdeppolicy = (PSETDEP)GetProcAddress(hMod,
44 "SetProcessDEPPolicy");
55 #define WINPROCESS_SYS_ENABLED false
56 #define subsys_winprocess_initialize NULL
65 .supported = WINPROCESS_SYS_ENABLED,
66 .initialize = subsys_winprocess_initialize,
Types used to declare a subsystem.
#define SUBSYS_DECLARE_LOCATION()
Declare subsystem object for winprocess.c.