GetProcessId.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GetProcessId (KRNL386.483)

SYNOPSIS

DWORD GetProcessId
 (
  HANDLE hProcess
 )

DESCRIPTION

GetProcessId (KERNEL32.@).

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

Defined in "winbase.h".

Implemented in "dlls/kernel32/process.c".

Debug channel "process".