IComObjectPoolEvents2::OnObjPoolTimeout method (comsvcs.h)

Generated when the request for a pooled object times out.

Syntax

HRESULT OnObjPoolTimeout(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] REFGUID          guidObject,
  [in] REFGUID          guidActivity,
  [in] DWORD            dwTimeout
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidObject

The CLSID for the objects in the pool.

[in] guidActivity

The identifier of the activity in which the object is created.

[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

See also

IComObjectPoolEvents2