amsi.h header

This header is used by the Antimalware Scan Interface. For more information, see

amsi.h contains the following programming interfaces:

Interfaces

 
IAmsiStream

Represents a stream to be scanned.
IAntimalware

Represents the antimalware product.
IAntimalware2

Represents the antimalware product.
IAntimalwareProvider

Represents the provider of the antimalware product.
IAntimalwareProvider2

Represents the provider of the antimalware product.

Functions

 
AmsiCloseSession

Close a session that was opened by AmsiOpenSession.
AmsiInitialize

Initialize the AMSI API.
AmsiNotifyOperation

Sends to the antimalware provider a notification of an arbitrary operation.
AmsiOpenSession

Opens a session within which multiple scan requests can be correlated.
AmsiResultIsMalware

Determines if the result of a scan indicates that the content should be blocked.
AmsiScanBuffer

Scans a buffer-full of content for malware.
AmsiScanString

Scans a string for malware.
AmsiUninitialize

Remove the instance of the AMSI API that was originally opened by AmsiInitialize.

Enumerations

 
AMSI_ATTRIBUTE

Specifies the types of attributes that can be requested by IAmsiStream::GetAttribute.
AMSI_RESULT

Specifies the types of results returned by scans.