[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
BOOL IsInDebugger() { HINSTANCE hInst = LoadLibrary("kernel32.dll"); if (hInst != NULL) { FARPROC pIsDebuggerPresent = GetProcAddress(hInst, "IsDebuggerPresent"); if (pIsDebuggerPresent != NULL) { return pIsDebuggerPresent(); } } return FALSE; }