PyHANDLE, int = CreateRemoteThread(hprocess, sa , stackSize , entryPoint , Parameter , flags )

creates a thread that runs in the virtual address space of another process.


hprocess : PyHANDLE

The handle to the remote process.


The security attributes, or None

stackSize : int

Stack size for the new thread, or zero for the default size.

entryPoint : function

The thread function's address.

Parameter : int

Arg passed to the function in the form of a void pointer

flags : int

Return Value

The result is a tuple of the thread handle and thread ID.