# Function Reference

# _WinAPI_GetCurrentProcessID

Returns the process identifier of the calling process

#include <WinAPIProc.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 <WinAPIProc.au3>

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