C# Class AgaHackTools.Main.Native.NativeHelper

Afficher le fichier Open project: aganonki/HackTools

Méthodes publiques

Méthode Description
FreeLibrary ( ProcessModule module ) : void

Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.

FreeLibrary ( string libraryName ) : void

Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.

GetProcAddress ( ProcessModule module, string functionName ) : IntPtr

Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).

GetProcAddress ( string moduleName, string functionName ) : IntPtr

Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).

LoadLibrary ( string libraryPath ) : ProcessModule

Loads the specified module into the address space of the calling process.

Method Details

FreeLibrary() public static méthode

Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.
public static FreeLibrary ( ProcessModule module ) : void
module System.Diagnostics.ProcessModule The object corresponding to the library to free.
Résultat void

FreeLibrary() public static méthode

Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.
public static FreeLibrary ( string libraryName ) : void
libraryName string The name of the library to free (not case-sensitive).
Résultat void

GetProcAddress() public static méthode

Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
public static GetProcAddress ( ProcessModule module, string functionName ) : IntPtr
module System.Diagnostics.ProcessModule The object corresponding to the module.
functionName string The function or variable name, or the function's ordinal value.
Résultat System.IntPtr

GetProcAddress() public static méthode

Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
public static GetProcAddress ( string moduleName, string functionName ) : IntPtr
moduleName string The module name (not case-sensitive).
functionName string The function or variable name, or the function's ordinal value.
Résultat System.IntPtr

LoadLibrary() public static méthode

Loads the specified module into the address space of the calling process.
public static LoadLibrary ( string libraryPath ) : ProcessModule
libraryPath string /// The name of the module. This can be either a library module (a .dll file) or an executable /// module (an .exe file). ///
Résultat System.Diagnostics.ProcessModule