C# Class Detours.Hook

Handles unmanaged API hooking.
Afficher le fichier Open project: xcvd/Detours

Méthodes publiques

Méthode Description
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.

Method Details

CallOriginal() public méthode

Calls the original function, and returns a return value.
public CallOriginal ( ) : object
Résultat object

Hook() public méthode

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. ///
Résultat System

Install() public méthode

Installs the hook.
public Install ( ) : bool
Résultat bool

Uninstall() public méthode

Removes the hook.
public Uninstall ( ) : bool
Résultat bool