Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 2.44 KB

nf-processthreadsapi-getcurrentprocessid.md

File metadata and controls

86 lines (65 loc) · 2.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:processthreadsapi.GetCurrentProcessId
GetCurrentProcessId function (processthreadsapi.h)
Retrieves the process identifier of the calling process.
GetCurrentProcessId
GetCurrentProcessId function
_win32_getcurrentprocessid
base.getcurrentprocessid
processthreadsapi/GetCurrentProcessId
winbase/GetCurrentProcessId
base\getcurrentprocessid.htm
processthreadsapi
a442e147-0db0-4911-94de-91728a4b277a
12/05/2018
GetCurrentProcessId, GetCurrentProcessId function, _win32_getcurrentprocessid, base.getcurrentprocessid, processthreadsapi/GetCurrentProcessId, winbase/GetCurrentProcessId
processthreadsapi.h
Windows.h on Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 Windows Server 2008 R2
Windows
Windows XP [desktop apps \| UWP apps]
Windows Server 2003 [desktop apps \| UWP apps]
Kernel32.lib
Kernel32.dll
Windows
19H1
GetCurrentProcessId
processthreadsapi/GetCurrentProcessId
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-Core-ProcessThreads-l1-1-0.dll
KernelBase.dll
MinKernelBase.dll
API-MS-Win-Core-ProcessThreads-l1-1-1.dll
API-MS-Win-Core-ProcessThreads-l1-1-2.dll
api-ms-win-downlevel-kernel32-l1-1-0.dll
API-MS-Win-Core-ProcessThreads-L1-1-3.dll
GetCurrentProcessId

GetCurrentProcessId function

-description

Retrieves the process identifier of the calling process.

-returns

The return value is the process identifier of the calling process.

-remarks

Until the process terminates, the process identifier uniquely identifies the process throughout the system.

-see-also

GetCurrentProcess

OpenProcess

Process and Thread Functions

Processes