C# 클래스 Detours.Hook

Handles unmanaged API hooking.
파일 보기 프로젝트 열기: xcvd/Detours

공개 메소드들

메소드 설명
CallOriginal ( ) : object

Calls the original function, and returns a return value.

Hook ( Delegate target, Delegate hook ) : System

Initializes a new instance of the Hook class.

Install ( ) : bool

Installs the hook.

Uninstall ( ) : bool

Removes the hook.

메소드 상세

CallOriginal() 공개 메소드

Calls the original function, and returns a return value.
public CallOriginal ( ) : object
리턴 object

Hook() 공개 메소드

Initializes a new instance of the Hook class.
public Hook ( Delegate target, Delegate hook ) : System
target System.Delegate /// The target. ///
hook System.Delegate /// The hook. ///
리턴 System

Install() 공개 메소드

Installs the hook.
public Install ( ) : bool
리턴 bool

Uninstall() 공개 메소드

Removes the hook.
public Uninstall ( ) : bool
리턴 bool