#ifndef _NTMMAPI_H
// Misc.
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtFlushWriteBuffer(
VOID
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwFlushWriteBuffer(
VOID
);
View code on GitHub
Function NtFlushWriteBuffer
does nothing...
It test IRQ Level, and call HAL export named KeFlushWriteBuffer
.
KeFlushWriteBuffer
as first asm code has ret, so it returns immediately.
Next NtFlushWriteBuffer
clear eax
(set result of call to STATUS_SUCCESS
) and returns to User-Mode.