UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ntddk.IoIncrementKeepAliveCount |
IoIncrementKeepAliveCount function (ntddk.h) |
The IoIncrementKeepAliveCount routine increments a reference count associated with a Windows app process on a specific device. |
kernel\ioincrementkeepalivecount.htm |
kernel |
04/30/2018 |
|
IoIncrementKeepAliveCount, IoIncrementKeepAliveCount routine [Kernel-Mode Driver Architecture], kernel.ioincrementkeepalivecount, ntddk/IoIncrementKeepAliveCount |
ntddk.h |
Ntddk.h |
Universal |
Available in Windows 8. |
Ntoskrnl.lib |
Ntoskrnl.exe |
Windows |
|
|
|
|
|
The IoIncrementKeepAliveCount routine increments a reference count associated with a Windows app process on a specific device. This routine is called by a kernel mode driver in response to the app opening a process for I/O. This prevents Windows from suspending the app before the I/O process is complete.
The file object handle to the device.
The process associated with the device.
This routine returns STATUS_SUCCESS on success, or the appropriate NTSTATUS error code on failure. NTSTATUS error codes are defined in Ntstatus.h.