IAPI::GetCurrentProcessId

property GetCurrentProcessId.

Retrieves the current process identifier whatever it is an app or script.

 

HRESULT GetCurrentProcessId(
  long *pVal
);

Parameters

pVal

[out, retval]

. The returned value is the current process identifier.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

See Also

IAPI