Sm_PolicyApi_FreeMemoryEx()
Call Sm_PolicyApi_FreeMemoryEx() to free memory that was allocated by the Policy Management API. This includes the Sm_PolicyApi_Server_t structures allocated as part of the Sm_PolicyApi_HostConfig_t structure.
casso126
Call Sm_PolicyApi_FreeMemoryEx() to free memory that was allocated by the Policy Management API. This includes the Sm_PolicyApi_Server_t structures allocated as part of the Sm_PolicyApi_HostConfig_t structure.
Clients starting at version SM_POLICY_API_VERSION_6_0 must use this function instead of Sm_PolicyApi_FreeMemory().
Type
Utility function.
Syntax
int SM_EXTERN Sm_PolicyApi_FreeMemoryEx (void*pInitHandlevoid*pMem);
Parameter | I/O | description |
pInitHandle
| I | A void pointer that points to memory that was allocated by the Policy Management API .
|
pMem
| I | A void pointer that points to memory that was allocated by the Policy Management API .
|
Returns
- Sm_PolicyApi_Success. The operation was successful.
- Sm_PolicyApi_Failure. The operation failed.
- Sm_PolicyApi_InvalidHandle. There was no valid initialization prior to this call.