Пример #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);
Пример #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);
Пример #3
0
 internal static extern bool Wow64SetThreadContext(SafeThreadHandle threadHandle, IntPtr wow64Context);
Пример #4
0
 internal static extern int SuspendThread(SafeThreadHandle threadHandle);
Пример #5
0
 internal static extern bool SetThreadContext(SafeThreadHandle threadHandle, IntPtr context);
Пример #6
0
 internal static extern int ResumeThread(SafeThreadHandle threadHandle);
Пример #7
0
 internal static extern bool QueueUserAPC(IntPtr apc, SafeThreadHandle threadHandle, IntPtr data);