Example #1
0
 public static ulong GetModuleFunction(string moduleName, string functionName)
 => Native.GetProcAddress(Native.GetModuleHandle(moduleName), functionName);
Example #2
0
 public static void WaitForThread(ulong threadHandle)
 => Native.WaitForSingleObject(threadHandle, uint.MaxValue);