Show / Hide Table of Contents

Method process.processIdFromHandle


Overload

Gets process id from handle (API GetProcessId).

public static int processIdFromHandle(nint processHandle)
Parameters
processHandle  (nint)

Process handle.

Returns
int

0 if failed. Supports lastError.