IAntimalware::CloseSession method (amsi.h)

Closes the session.

Syntax

void CloseSession(
  [in] ULONGLONG session
);

Parameters

[in] session

Type: ULONGLONG

The id/handle of the session to close.

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