win32process.GetProcessId

int = GetProcessId(Process)

Returns the Pid for a process handle

Parameters

Process : PyHANDLE

Handle to a process