Indicates whether the application is still able to execute.
Syntax
HRESULT QueryAlive(void);
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If the application process shuts down unexpectedly, COM returns an error code.