KAV_OBJECT_HASH

Stores hash data for the scanned object.

Syntax

typedef struct

{

KAV_HASH_TYPE hashType;

unsigned char hashData[1];

} KAV_OBJECT_HASH;

Members

KAV_OBJECT_HASH structure members

Member name

Description

hashType

A type of returned hash sum.

Available types are declared in KAV_HASH_TYPE.

hashData

Returned hash sum.

Possible values:

  • 16-byte MD5 hash

    If hash is obtained for the scanned object.

  • 0

    If no hash can be obtained; for example, there was an error calculating footprint for the file.

Remarks

The following example shows when you could receive 0 in KAV_OBJECT_HASH::hashData.

Consider Proactive Defense Monitor (PDM) component returned EVENT_SUSPECTED detection event just before Updater SDK or your application initiated update of new malware definition files in KAV SDK. You have returned CLBK_GET_OBJECT_HASH on this event code.

Because SDK automatically scans the system using new definition files after they are updated, a new scan is made by PDM after the successful reloading of definitions. No hash data will be returned if the source process in dwObjectID for EVENT_SUSPECTED is no longer running at the time of this rescan.

See also

KAV_HASH_TYPE

Page top