IComApp2Events::OnAppRecycle2 method (comsvcs.h)
Generated when the server application process is marked for recycling termination.
Syntax
HRESULT OnAppRecycle2(
[in] COMSVCSEVENTINFO *pInfo,
[in] GUID guidApp,
[in] GUID guidProcess,
[in] long lReason
);
Parameters
[in] pInfo
A pointer to a COMSVCSEVENTINFO structure.
[in] guidApp
The application ID.
[in] guidProcess
The process ID.
[in] lReason
The reason code that explains why a process was recycled. The following codes are defined.
Return value
The user verifies the return values from this method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |