IAntimalwareProvider::Scan method (amsi.h)
Scan a stream of content.
Syntax
HRESULT Scan(
[in] IAmsiStream *stream,
[out] AMSI_RESULT *result
);
Parameters
[in] stream
The IAmsiStream stream to be scanned.
[out] result
The result of the scan. See AMSI_RESULT.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more argument is invalid. |
|
The object is not initialized. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | amsi.h |