Gets the contents of the agent type object identified by pszAgentTypeOid. The results of this function will be returned in a structure referenced by ppstructAgentType.
Free the memory allocated for this structure by calling Sm_PolicyApi_FreeMemoryEx().
Type
Agent function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAgentType ( void* pSessionHandle, const char* pszAgentTypeOid, Sm_PolicyApi_AgentType_t** ppstructAgentType );
Parameter |
I/O |
Description |
---|---|---|
pSessionHandle |
I |
A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pszAgentTypeOid |
I |
A null-terminated string containing the object identifier of an existing agent type. |
ppstructAgentType |
O |
The address of a pointer to an agent type structure. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|