HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API Functions

CSSM_SPI_ModuleUnload

 » Table of Contents

 » Glossary

 » Index

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 ALSO

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_SPI_ModuleDetach, CSSM_SPI_ModuleLoad