VMS Help  —  CDSA  CDSA_API, HRS SetStreamCallback
 NAME
   CSSM_HRS_SetStreamCallback, HRS_SetStreamCallback

 SYNOPSIS

 #include <hrs.h>

 API
   CSSM_RETURN CSSMAPI CSSM_HRS_SetStreamCallback
                             (CSSM_HRS_HANDLE ModuleHandle,
                             CSSM_HRS_STREAM_CALLBACK StreamCallback,
                             void *StreamCallbackCtx);
 SPI
   CSSM_RETURN CSSMHRI HRS_SetStreamCallback
                             (CSSM_HRS_HANDLE ModuleHandle,
                             CSSM_HRS_STREAM_CALLBACK StreamCallback,
                             void *StreamCallbackCtx);

 LIBRARY
   HRS Extensible Module Manager (CDSA$INHRSEMM_SHR.EXE)

 PARAMETERS
   The parameter definitions are the same for the API and the SPI.

   ModuleHandle (input)            The handle of the attached HRS
                                   service provider.
   StreamCallback (input)          A pointer to an application
                                   callback to deal with the
                                   client/server transmission of
                                   protocol data units between HRS
                                   service providers.
   StreamCallbackCtx (input)       A generic pointer to context
                                   information provided by the
                                   application that will be presented
                                   on the callback.

 DESCRIPTION
   This function allows the application to establish a callback for
   client/server communication. The callback allows the HRS service
   provider to send a protocol message to its partner service
   provider, and to receive a protocol message in exchange.

 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.

   CSSMERR_CSSM_NOT_INITIALIZED
   CSSMERR_CSSM_FUNCTION_FAILED
   CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED
   CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL
Close Help