Antimalware Scan Interface (AMSI) functions

Functions that your application can call to request a scan. AMSI provides the following functions.

Function Description
AmsiCloseSession Close a session that was opened by AmsiOpenSession.
AmsiInitialize Initialize the AMSI API.
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.