IComObjectPoolEvents2::OnObjPoolCreatePool method (comsvcs.h)
Generated when a new pool is created.
Syntax
HRESULT OnObjPoolCreatePool(
[in] COMSVCSEVENTINFO *pInfo,
[in] REFGUID guidObject,
[in] DWORD dwMin,
[in] DWORD dwMax,
[in] DWORD dwTimeout
);
Parameters
[in] pInfo
A pointer to a COMSVCSEVENTINFO structure.
[in] guidObject
The CLSID for the objects in the pool.
[in] dwMin
The pool's minimum object value.
[in] dwMax
The pool's maximum object value.
[in] dwTimeout
The pool's time-out value.
Return value
The user verifies the return values from this method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |