AmsiCloseSession function (amsi.h)
Close a session that was opened by AmsiOpenSession.
void AmsiCloseSession( [in] HAMSICONTEXT amsiContext, [in] HAMSISESSION amsiSession );
The handle of type HAMSICONTEXT that was initially received from AmsiInitialize.
The handle of type HAMSISESSION that was initially received from AmsiOpenSession.
|Minimum supported client||Windows 10 [desktop apps only]|
|Minimum supported server||Windows Server 2016 [desktop apps only]|