IInitializeSpy interface

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

Methods

The IInitializeSpy interface has these methods.

Method Description
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

   
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