|
int NagNetworkListApi::GetListItemFileChunk |
( |
wstring |
listName, |
|
|
wstring |
itemId, |
|
|
boolean |
bNeedPacked, |
|
|
unsignedInt |
ulStartPos, |
|
|
int |
lBytesToRead, |
|
|
[out] binary |
pChunk |
|
) |
| |
Retrieves chunk of the file associated with network list item.
Values for listName and itemId see in Network lists which elements are associated with files Network lists which elements are associated with files. if nagent has version sc13 or higher it is better to use GetListItemFileInfo2
- Parameters:
-
listName | [in] Network list name |
itemId | [in] Network list item identifier |
bNeedPacked | [in] if true than will be get info about packed content of the file. It is useful if file is the virus and it is needed to load it. |
ulStartPos | [in] start position of the chunk |
pChunk | [out] binary data as array of bytes. |
lBytesToRead | [in] number of bytes to read |
pChunk | [out] binary data as array of bytes. |
- Return values:
-
|