IComObjectConstruction2Events::OnObjectConstruct2 method (comsvcs.h)

Generated when a constructed object is created.

Syntax

HRESULT OnObjectConstruct2(
  COMSVCSEVENTINFO *pInfo,
  REFGUID          guidObject,
  LPCOLESTR        sConstructString,
  ULONG64          oid,
  REFGUID          guidPartition
);

Parameters

pInfo

A pointer to a COMSVCSEVENTINFO structure.

guidObject

The CLSID for the objects in the pool.

sConstructString

The object construction string.

oid

The unique constructed object identifier.

guidPartition

The partition identifier for which this instance is created.

Return value

The user verifies the return values from this method.

Requirements

   
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

IComObjectConstruction2Events