AmsiCloseSession function (amsi.h)
Close a session that was opened by AmsiOpenSession.
Syntax
void AmsiCloseSession(
[in] HAMSICONTEXT amsiContext,
[in] HAMSISESSION amsiSession
);
Parameters
[in] amsiContext
The handle of type HAMSICONTEXT that was initially received from AmsiInitialize.
[in] amsiSession
The handle of type HAMSISESSION that was initially received from AmsiOpenSession.
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 |