AmsiResultIsMalware macro (amsi.h)

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

Syntax

void AmsiResultIsMalware(
  [in]  r
);

Parameters

[in] r

The AMSI_RESULT returned by AmsiScanBuffer or AmsiScanString.

Return value

None

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
Library Amsi.lib
DLL Amsi.dll

See also

AMSI_RESULT

AmsiScanBuffer

AmsiScanString