KSC Open API
Kaspersky Security Center API description
wstring PolicyProfiles::GetEffectivePolicyContents ( int  nPolicy,
wstring  szwHostId,
int  nLifeTime 
)

Acquire effective policy contents for host.

Creates a copy of the settings storage SsContents of the specified policy, and applies to it those policy profiles which are active at the specified host.

Parameters:
nPolicy(int) policy id
szwHostId(wstring) host name (see KLHST_WKS_HOSTNAME)
nLifeTime(int) timeout in milliseconds to keep this SsContents object alive, zero means 'default value'
Returns:
(wstring) identifier of opened SsContents, must be closed with SsContents::SS_Release
See also: