GetDefinitionInfo
API |
GetDefinitionInfo |
Function |
This method is used to retrieve additional attributes about the definition files in use by the custom engine. |
Function prototype
int
GetDefinitionTime
(
wchar_t
** reserved,
wchar_t
** defVer,
wchar_t
** defSig,
wchar_t
** engVer,
void
** reserved2
)
Arguments
Argument |
Description |
Other |
defVer |
Definition version you would like to report. Metadefender Core does not use this information for any logic. It is used only for display purposes. |
Implementer must allocate the memory required. |
defSig |
Definition signature count you would like to report. Metadefender Core does not use this information for any logic. It is used only for display purposes. |
Implementer must allocate the memory required. |
engVer |
Engine version you would like to report. Metadefender Core does not use this information for any logic. It is used only for display purposes. |
Implementer must allocate the memory required. |
reserved, reserved2 |
Reserved for future use. |
|
Important: defVer, defSig, engVer are double pointers to wchar_t or NULL. They must be allocated by the custom engine in a way that can be deallocated by the FreeString function unless NULL pointer is passed.
Return value
Value |
Description |
0 |
Information successfully retrieved. |
1 |
Information unavailable. |