Stores information about properties of a file within the backup storage.
Syntax
struct KAV_QB_OBJECT_INFO
{
char *pOrigName;
ULONGLONG qwOrigSize;
char *pVirusName;
long nQBTime;
char cReserved;
};
Members
KAV_QB_OBJECT_INFO structure members
Member name |
Description |
|---|---|
|
A pointer to the variable storing the original name of the scanned file, or a path to it, as passed to the scanning function. In case of compound object (e.g. an archive, packed object, email message or mail base) the pointer will designate to the variable storing the original name or a path to the entire object. It is recommended that you specify full paths to files to be scanned when passing files to a scanning function. Otherwise, if you choose to pass shortened path relative to the location of the file to be scanned, you end up with the
To free memory allotted for storing this information, use the |
|
Original object size in bytes. The size of an object at the time of interception before it has been placed to the backup storage. The current size of this object in the backup storage is not the same as the auxiliary data is added. In case when the object is compound (for example, an archive, packed object, email message or mail base) this field will contain the size of entire object, not the size of infected part only. |
|
A pointer to the malware name which has been detected in the object before putting it to the backup storage. The name is shown as contained within the anti-virus database. On detection of infected compound object (e.g. an archive, packed object, email message or mail base) this field will be returned empty, because the compound object may be infected by several viruses. To free memory allotted for storing this information, use the |
|
The moment of adding the object to the backup storage. The time is represented in seconds from midnight on 1 January 1970 (Unix time). |
|
This parameter is ignored in the current KAV SDK version. |