Activates an antivirus scanner.
Syntax
HRESULT Scan ( MSOAVINFO *pmsoavinfo );
Parameters
- pmsoavinfo
- Address of an MSOAVINFO structure that contains information about the file to be scanned.
Return Value
Returns one of the following values:
S_OK The file was scanned and no viruses were found. S_FALSE The file was infected and the virus was cleaned from the file. E_FAIL The file was infected but the virus could not be cleaned from the file. ERROR_FILE_NOT_FOUND The file was not found.