KSC Open API
Kaspersky Security Center API description
boolean Tasks::GetNextHostStatus ( wstring  strHostIteratorId,
int  nCount,
[out] int  nActual,
[out] params  pHostStatus 
)

Sequentially get result of operation ResetHostIteratorForTaskStatus or ResetHostIteratorForTaskStatusEx.

Sequentially gets result of operation Tasks.ResetHostIteratorForTaskStatus or Tasks.ResetHostIteratorForTaskStatusEx

Parameters:
strHostIteratorId(wstring) iterator id which got from Tasks.ResetHostIteratorForTaskStatus or Tasks.ResetHostIteratorForTaskStatusEx
nCount(int) requested number of records
[out]nActual(int) actual count of received records
[out]pHostStatus(params) container that has requested elements in the array with name "statuses", each item of array contains attributes from Host task state attributes
Returns:
(boolean) return false if the iterator reached end of the record list, in this case nActual contains zero