Previous Topic: Sm_PolicyApi_FreeMemory()Next Topic: Sm_PolicyApi_FreeString()


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.

Note: 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* pInitHandle
   void* 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