Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Activates an antivirus scanner.
Syntax
HRESULT Scan(
MSOAVINFO *pmsoavinfo
);
Parameters
- pmsoavinfo
An MSOAVINFO structure that contains information about the file to scan.
Return value
Returns one of the following values.
Return code | Description |
---|---|
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. You must embed ERROR_FILE_NOT_FOUND in an HRESULT before you return it. Use the standard HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) macro. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Product |
Internet Explorer 5 |