property GetCurrentProcessId.
Retrieves the current process identifier whatever it is an app or
script.
|
pVal
[out,
retval]
. The
returned value is the current process identifier.
S_OK
The
operation was successfull.
E_POINTER
A NULL
pointer was supplied as an argument.