Readonly
pidOptional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Kill a process running on this system.
Does not cause a crash report to be generated and sent.
pid
is the unique-to-the-system process identifier, as
obtained with attribute pid
of this service.
Under Un*ix, that's what you obtain with getpid()
, etc.
Under Windows, that's what you obtain with GetCurrentProcessId()
,
NOT the same thing as the process HANDLE
.
Under Windows, if two processes race to kill()
a third process,
or two threads race to kill()
a process there is a (small) window
during which this can cause a crash in the losing process.
Under Windows, process killing is asynchronous. Therefore, this
function can return before process pid
is actually dead.
Generated using TypeDoc
The pid for the current process.