The KeUnstackDetachProcess routine detaches the current thread from the address space of a process and restores the previous attach state.
void KeUnstackDetachProcess( PRKAPC_STATE ApcState );
Opaque pointer to a KAPC_STATE structure that was returned from a previous call to KeStackAttachProcess.
Every successful call to KeStackAttachProcess must be matched by a subsequent call to KeUnstackDetachProcess.
For more information about using system threads and managing synchronization within a nonarbitrary thread context, see Driver Threads, Dispatcher Objects, and Resources.
|Minimum supported client||This routine is available on Microsoft Windows 2000 and later.|
|Header||ntifs.h (include Ntifs.h, Fltkernel.h)|
Send feedback about: