IProcessInitializer interface

Provides methods that can be called whenever Dllhost.exe starts up or shuts down.

When to implement

Implement the IProcessInitializer interface methods when you have initialization or shutdown code that you want to run whenever Dllhost.exe starts up or shuts down, respectively.

When to use

To activate the IProcessInitializer interface methods for a particular COM component, set the InitializesServerApplication parameter to TRUE.

Members

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

Methods

The IProcessInitializer interface has these methods.

MethodDescription
Shutdown

Called when Dllhost.exe shuts down.

Startup

Called when Dllhost.exe starts.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

 

 

Community Additions

ADD
Show: