This section describes the subset of system-supplied KeXxx support routines that can be used by kernel-mode file systems and file system filter drivers. However, these routines cannot be used by device drivers.
In addition to the routines documented here, file systems and file system filter drivers can also call any of the KeXxx routines that are described in the Kernel-Mode Driver Architecture Reference section and that are declared in Ntifs.h.
In this section
Topic Description
KeAcquireQueuedSpinLock
Reserved for system use.
KeAttachProcess
Obsolete.
KeDetachProcess
Obsolete.
KeInitializeMutant
Reserved for system use.
KeInitializeQueue
The KeInitializeQueue routine initializes a queue object on which threads can wait for entries.
KeInsertHeadQueue
The KeInsertHeadQueue routine inserts an entry at the head of the given queue if it cannot immediately use the entry to satisfy a thread wait.
KeInsertQueue
The KeInsertQueue routine inserts an entry at the tail of the given queue if it cannot immediately use the entry to satisfy a thread wait.
KeReadStateMutant
Reserved for system use.
KeReadStateQueue
Reserved for system use.
KeReleaseMutant
Reserved for system use.
KeReleaseQueuedSpinLock
Reserved for system use.
KeRemoveQueue
The KeRemoveQueue routine gives the calling thread a pointer to a dequeued entry from the given queue object or allows the caller to wait, up to an optional timeout interval, on the queue object.
KeRundownQueue
The KeRundownQueue routine cleans up a queue object, flushing any queued entries.
KeSetIdealProcessorThread
Reserved for system use.
KeStackAttachProcess
The KeStackAttachProcess routine attaches the current thread to the address space of the target process.
KeTryToAcquireQueuedSpinLock
Reserved for system use.
KeUnstackDetachProcess
The KeUnstackDetachProcess routine detaches the current thread from the address space of a process and restores the previous attach state.
Caution Use this routine with extreme caution. (See the following Remarks section.)