IInitializeSpy interface (objidl.h)

Performs initialization or cleanup when entering or exiting a COM apartment.

Inheritance

The IInitializeSpy interface inherits from the IUnknown interface. IInitializeSpy also has these types of members:

Methods

The IInitializeSpy interface has these methods.

 
IInitializeSpy::PostInitialize

Performs initialization steps required after calling the CoInitializeEx function.
IInitializeSpy::PostUninitialize

Performs cleanup steps required after calling the CoUninitialize function.
IInitializeSpy::PreInitialize

Performs initialization steps required before calling the CoInitializeEx function.
IInitializeSpy::PreUninitialize

Performs cleanup steps required before calling the CoUninitialize function.

Requirements

Requirement Value
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header objidl.h

See also

CoRegisterInitializeSpy