HELPLIB.HLB  —  CDSA  CDSA_API, HRS SetPowerMode
 NAME
   CSSM_HRS_SetPowerMode, HRS_SetPowerMode

 SYNOPSIS

 #include <hrs.h>

 API
   CSSM_RETURN CSSMAPI CSSM_HRS_SetPowerMode(
                                  CSSM_HRS_HANDLE ModuleHandle,
                                  CSSM_HRS_POWER_MODE PowerMode);
 SPI
   CSSM_RETURN CSSMHRI HRS_SetPowerMode(
                                  CSSM_HRS_HANDLE ModuleHandle,
                                  CSSM_HRS_POWER_MODE PowerMode);

 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.
   PowerMode (input)           A 32-bit value indicting the power
                               mode to set the device to.

 DESCRIPTION
   This function sets the device to the requested power mode if the
   device supports it.

 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.

   CSSMERR_HRS_FUNCTION_NOT_SUPPORTED
Close Help