Example #1
0
 internal static extern void RtlCreateUserThread(SafeProcessHandle processHandle, IntPtr threadSecurity, bool createSuspended, int stackZeroBits, IntPtr stackReserved, IntPtr stackCommit, IntPtr startAddress, IntPtr parameter, out SafeThreadHandle threadHandle, int clientId);
Example #2
0
 internal static extern void ZwCreateThreadEx(out SafeThreadHandle threadHandle, AccessMask desiredAccess, IntPtr objectAttributes, SafeProcessHandle processHandle, IntPtr startAddress, IntPtr parameter, CreationFlags creationFlags, int stackZeroBits, int sizeOfStack, int maximumStackSize, IntPtr attributeList);
Example #3
0
 internal static extern bool Wow64SetThreadContext(SafeThreadHandle threadHandle, IntPtr wow64Context);
Example #4
0
 internal static extern int SuspendThread(SafeThreadHandle threadHandle);
Example #5
0
 internal static extern bool SetThreadContext(SafeThreadHandle threadHandle, IntPtr context);
Example #6
0
 internal static extern int ResumeThread(SafeThreadHandle threadHandle);
Example #7
0
 internal static extern bool QueueUserAPC(IntPtr apc, SafeThreadHandle threadHandle, IntPtr data);