IAPI::IsProcessUsingDotNet

property IsProcessUsingDotNet.

Checks whether a running process is using .NET Framework or ScriptEZ.API

 

HRESULT IsProcessUsingDotNet(
  long ProcessID,
  long *pVal
);

Parameters

ProcessID

[in,defaultvalue(0)] . 0 for the current process or any other identifier of a running process.

                             Note that passing process identifier as a negative value will allow to know whether

                             the running process is using ScriptEZ.API interfaces or not. (e.g: 3728 => -3728)

pVal

[out, retval] The returned value is:

                    0 (no)

                    1 (yes)

                   -1 (if processid not valid or error)

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI