MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / create_thread

Method create_thread

windows/winobject/process.py:692–698  ·  view source on GitHub ↗

Create a new thread :rtype: :class:`WinThread` or :class:`DeadThread`

(self, lpStartAddress, lpParameter, dwCreationFlags=0)

Source from the content-addressed store, hash-verified

690 return buffer[:]
691
692 def create_thread(self, lpStartAddress, lpParameter, dwCreationFlags=0):
693 """Create a new thread
694
695 :rtype: :class:`WinThread` or :class:`DeadThread`
696 """
697 handle = winproxy.CreateThread(lpStartAddress=lpStartAddress, lpParameter=lpParameter, dwCreationFlags=dwCreationFlags)
698 return WinThread._from_handle(handle)
699
700 def load_library(self, dll_path):
701 """Load the library in current process

Callers

nothing calls this directly

Calls 1

_from_handleMethod · 0.45

Tested by

no test coverage detected