KeUnstackDetachProcess function (ntifs.h)
The KeUnstackDetachProcess routine detaches the current thread from the address space of a process and restores the previous attach state.
Syntax
void KeUnstackDetachProcess(
[in] PRKAPC_STATE ApcState
);
Parameters
[in] ApcState
Opaque pointer to a KAPC_STATE structure that was returned from a previous call to KeStackAttachProcess.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h, Fltkernel.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | < DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for