Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |