Copyright Digital Equipment Corp. All rights reserved.

CSSM_SPI_ModuleUnload

NAME
  CSSM_SPI_ModuleUnload - Disable events and deregister CSSM event
                          notification (CDSA)

SYNOPSIS
  # include <cssm.h>

       CSSM_RETURN CSSMSPI CSSM_SPI_ModuleUnload
       (const CSSM_GUID *CssmGuid,
       const CSSM_GUID *ModuleGuid,
       CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
       void* CssmNotifyCallbackCtx)

LIBRARY
  Common Security Services Manager library (CDSA$INCSSM300_SHR.EXE)

PARAMETERS
  CssmGuid (input)
          The CSSM_GUID of the caller.

  ModuleGuid (input)
          The CSSM_GUID of the invoked service provider module.

  CssmNotifyCallback (input)
          A function pointer for the CSSM event handler that manages
          events of type CSSM_MODULE_EVENT.

  CssmNotifyCallbackCtx (input)
          The context to be returned to CSSM as input on each callback
          to the event handler defined by CssmNotifyCallback.

DESCRIPTION
  This function disables events and deregisters the CSSM event-
  notification function. The add-in service module can perform
  cleanup operations, reversing the initialization performed in
  CSSM_SPI_ModuleLoad().

RETURN VALUE
  A CSSM_RETURN value indicating success or specifying a particular
  error condition. The value CSSM_OK indicates success. All other
  values represent an error condition.

ERRORS
  Errors are described in the CDSA technical standard.  See CDSA.

SEE ALSO
  Books

  Intel CDSA Application Developer's Guide (see CDSA)

  Other Help Topics

  Functions: CSSM_SPI_ModuleDetach
             CSSM_SPI_ModuleLoad