Sm_PolicyApi_InitEx()

Initializes a connection to the stmndr policy store and establishes the init handle based on a supplied version.
sm1252sp1
Initializes a connection to the
CA Single Sign-On
policy store and establishes the init handle based on a supplied version.
Type
Required function.
Syntax
int SM_EXTERN Sm_PolicyApi_InitEx (
void**ppInitHandle,
const Sm_PolicyApi_InitFlags_tnInitFlag,
const unsignedversion
)
Parameter
I/O
Description
ppInitHandle
O
A pointer to an internal Policy Management API data structure that contains client session information.
nInitFlag
I
Value affecting the behavior of the API.
version
I
Version of the Policy Management API to initialize.
Returns
  • Sm_PolicyApi_Success. The initialization of the Policy Store connection was successful.
  • Sm_PolicyApi_Failure. The initialization of the Policy Store connection was unsuccessful or memory could not be allocated.