Advertisement
FlyFar

DoubleAgent/Verifier.h

Jan 2nd, 2024
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.81 KB | Cybersecurity | 0 0
  1. #pragma once
  2.  
  3. /* Includes ******************************************************************/
  4. #include <Windows.h>
  5. #include "Status.h"
  6.  
  7. /* Function Declarations *****************************************************/
  8. /*
  9.  * Installs an application verifier for the process
  10.  */
  11. DOUBLEAGENT_STATUS VERIFIER_Install(IN PCWSTR pcwszProcessName, IN PCWSTR pcwszVrfDllName, IN PCWSTR pcwszVrfDllPathX86, IN PCWSTR pcwszVrfDllPathX64);
  12. /*
  13.  * In some cases (application crash, exception, etc.) the install\uninstall functions may accidentally leave the machine in an undefined state
  14.  * Repairs the machine to its original state
  15.  */
  16. DOUBLEAGENT_STATUS VERIFIER_Repair(VOID);
  17. /*
  18.  * Uninstalls the application verifier from the process
  19.  */
  20. VOID VERIFIER_Uninstall(IN PCWSTR pcwszProcessName, IN PCWSTR pcwszVrfDllName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement