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

Method owner_pid

windows/winobject/process.py:774–778  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

772
773 @utils.fixedpropety
774 def owner_pid(self):
775 res = THREAD_BASIC_INFORMATION()
776 windows.winproxy.NtQueryInformationThread(self.handle, ThreadBasicInformation, byref(res), ctypes.sizeof(res))
777 owner_id = res.ClientId.UniqueProcess
778 return owner_id
779
780 @utils.fixedpropety
781 def owner(self):

Callers

nothing calls this directly

Calls 1

sizeofMethod · 0.45

Tested by

no test coverage detected