GetCurrentProcessId
Returns the identifier of the calling process.
Module: Windows
Microsoft documentation: GetCurrentProcessId
Signature
rux
func GetCurrentProcessId() -> uint32;Returns
uint32 — the current process identifier. Windows may reuse the identifier after the process terminates.
See also
GetCurrentThreadId— calling thread identifierProcess and thread— process API overview