Scroll to navigation

GetProcessId(3w) Wine API GetProcessId(3w)

NAME

GetProcessId (KERNEL32.@)

SYNOPSIS

DWORD GetProcessId
(
HANDLE hProcess
)
 

DESCRIPTION

Gets the a unique identifier of a process.
 

PARAMS

hProcess [In] Handle to the process.
 

RETURNS

Success: TRUE.
Failure: FALSE, check GetLastError(3w).
 

NOTES

The identifier is unique only on the machine and only until the process exits (including system shutdown).
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/process.c".
Debug channel "process".
Oct 2012 Wine API