ICertExit2 interface (certexit.h)

The ICertExit2 interface is one of two interfaces that provide communications between the Certificate Services server and an exit module.

Note  The exit module can communicate with the Certificate Services server by using the ICertServerExit interface.
The Certificate Services server calls the ICertExit2 methods to perform the following tasks:
  • Initialize the Certificate Services server.
  • Notify the exit module of an event such as certificate issuance, CRL issuance, or server shutdown, has occurred.
  • Retrieve a description of the exit module.
  • Retrieve the ICertManageModule interface implemented by the exit module. The methods of this interface allows the Certificate Services server to configure the exit module as well as set and retrieve the exit module properties.

ICertExit2 is defined in Certexit.h. When you create your program, however, use Certsrv.h as the include file.

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.


The ICertExit2 interface inherits from ICertExit and IDispatch. ICertExit2 also has these types of members:


The ICertExit2 interface has these methods.


Retrieves the ICertManageModule interface associated with the ICertExit2 interface by calling GetManageModule and passing in the address of a pointer to an ICertManageModule.


Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certexit.h (include Certsrv.h)