IServicePool::Initialize method (comsvcs.h)

Initializes an object pool.

Syntax

HRESULT Initialize(
  [in] IUnknown *pPoolConfig
);

Parameters

[in] pPoolConfig

An object supporting the IServicePoolConfig interface that describes the configuration of the object pool.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
CO_E_ALREADYINITIALIZED

Initialize has already been called.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional with SP4, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IServicePool