Returns the process handle of the calling process
#include <WinAPIHObj.au3> _WinAPI_GetCurrentProcess ( )
_WinAPI_GetCurrentProcessID
Search GetCurrentProcess in MSDN Library.