Disconnects from the policy store and releases memory and resources held by the API.
This function must be the last function called by the API client session. This function must be called once per client session.
Note: Failure to call this function will result in a memory leak.
Type
Required function.
Syntax
int SM_EXTERN Sm_PolicyApi_Release(void* pInitHandle);
Parameter |
I/O |
Description |
---|---|---|
pInitHandle |
I |
The init handle that was returned by Sm_PolicyApi_Init() after successful initialization of the client session. |
Returns
This function always returns Sm_PolicyApi_Success.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |