private RhInjectLibrary ( |
||
InTargetPID | ||
InWakeUpTID | ||
InInjectionOptions | ||
InLibraryPath_x86 | String | |
InLibraryPath_x64 | String | |
InPassThruBuffer | ||
InPassThruSize | ||
return |
public static void RhInjectLibrary( Int32 InTargetPID, Int32 InWakeUpTID, Int32 InInjectionOptions, String InLibraryPath_x86, String InLibraryPath_x64, RhAssemblyInfo[] Assemblies, IntPtr InPassThruBuffer, Int32 InPassThruSize) { if (Is64Bit) { Force(NativeAPI_x64.RhInjectLibrary( InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, Assemblies, Assemblies.Length, InPassThruBuffer, InPassThruSize)); } else { Force(NativeAPI_x86.RhInjectLibrary( InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, Assemblies, Assemblies.Length, InPassThruBuffer, InPassThruSize)); } }
public static Int32 RhInjectLibraryEx( Int32 InTargetPID, Int32 InWakeUpTID, Int32 InInjectionOptions, String InLibraryPath_x86, String InLibraryPath_x64, IntPtr InPassThruBuffer, Int32 InPassThruSize) { if (Is64Bit) { return(NativeAPI_x64.RhInjectLibrary(InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, InPassThruBuffer, InPassThruSize)); } else { return(NativeAPI_x86.RhInjectLibrary(InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, InPassThruBuffer, InPassThruSize)); } }
public static Int32 RhInjectLibraryEx( Int32 InTargetPID, Int32 InWakeUpTID, Int32 InInjectionOptions, String InLibraryPath_x86, String InLibraryPath_x64, RhAssemblyInfo[] Assemblies, IntPtr InPassThruBuffer, Int32 InPassThruSize) { return(Is64Bit ? NativeAPI_x64.RhInjectLibrary( InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, Assemblies, Assemblies != null ? Assemblies.Length : 0, InPassThruBuffer, InPassThruSize) : NativeAPI_x86.RhInjectLibrary( InTargetPID, InWakeUpTID, InInjectionOptions, InLibraryPath_x86, InLibraryPath_x64, Assemblies, Assemblies != null ? Assemblies.Length : 0, InPassThruBuffer, InPassThruSize)); }