Function Reference


_WinAPI_GetCurrentProcessID

Returns the process identifier of the calling process

#include <WinAPI.au3>
_WinAPI_GetCurrentProcessID ( )

Return Value

Returns the Process identifier of the calling process

Related

_WinAPI_GetCurrentProcess, _WinAPI_GetWindowThreadProcessId

See Also

Search GetCurrentProcessId in MSDN Library.

Example

#include <MsgBoxConstants.au3>
#include <WinAPI.au3>

MsgBox($MB_SYSTEMMODAL, "ID", "Get Current Process: " & _WinAPI_GetCurrentProcessID())