Commit 3c0d0005 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the standard syscall calling convention for NtFlushProcessWriteBuffers.

parent 5ae7ca0b
...@@ -6022,10 +6022,11 @@ NTSTATUS WINAPI NtFlushInstructionCache( HANDLE handle, const void *addr, SIZE_T ...@@ -6022,10 +6022,11 @@ NTSTATUS WINAPI NtFlushInstructionCache( HANDLE handle, const void *addr, SIZE_T
/********************************************************************** /**********************************************************************
* NtFlushProcessWriteBuffers (NTDLL.@) * NtFlushProcessWriteBuffers (NTDLL.@)
*/ */
void WINAPI NtFlushProcessWriteBuffers(void) NTSTATUS WINAPI NtFlushProcessWriteBuffers(void)
{ {
static int once = 0; static int once = 0;
if (!once++) FIXME( "stub\n" ); if (!once++) FIXME( "stub\n" );
return STATUS_SUCCESS;
} }
......
...@@ -431,8 +431,7 @@ NTSTATUS WINAPI wow64_NtDebugActiveProcess( UINT *args ) ...@@ -431,8 +431,7 @@ NTSTATUS WINAPI wow64_NtDebugActiveProcess( UINT *args )
*/ */
NTSTATUS WINAPI wow64_NtFlushProcessWriteBuffers( UINT *args ) NTSTATUS WINAPI wow64_NtFlushProcessWriteBuffers( UINT *args )
{ {
NtFlushProcessWriteBuffers(); return NtFlushProcessWriteBuffers();
return STATUS_SUCCESS;
} }
......
...@@ -4404,7 +4404,7 @@ NTSYSAPI NTSTATUS WINAPI NtFindAtom(const WCHAR*,ULONG,RTL_ATOM*); ...@@ -4404,7 +4404,7 @@ NTSYSAPI NTSTATUS WINAPI NtFindAtom(const WCHAR*,ULONG,RTL_ATOM*);
NTSYSAPI NTSTATUS WINAPI NtFlushBuffersFile(HANDLE,IO_STATUS_BLOCK*); NTSYSAPI NTSTATUS WINAPI NtFlushBuffersFile(HANDLE,IO_STATUS_BLOCK*);
NTSYSAPI NTSTATUS WINAPI NtFlushInstructionCache(HANDLE,LPCVOID,SIZE_T); NTSYSAPI NTSTATUS WINAPI NtFlushInstructionCache(HANDLE,LPCVOID,SIZE_T);
NTSYSAPI NTSTATUS WINAPI NtFlushKey(HANDLE); NTSYSAPI NTSTATUS WINAPI NtFlushKey(HANDLE);
NTSYSAPI void WINAPI NtFlushProcessWriteBuffers(void); NTSYSAPI NTSTATUS WINAPI NtFlushProcessWriteBuffers(void);
NTSYSAPI NTSTATUS WINAPI NtFlushVirtualMemory(HANDLE,LPCVOID*,SIZE_T*,ULONG); NTSYSAPI NTSTATUS WINAPI NtFlushVirtualMemory(HANDLE,LPCVOID*,SIZE_T*,ULONG);
NTSYSAPI NTSTATUS WINAPI NtFlushWriteBuffer(VOID); NTSYSAPI NTSTATUS WINAPI NtFlushWriteBuffer(VOID);
NTSYSAPI NTSTATUS WINAPI NtFreeVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG); NTSYSAPI NTSTATUS WINAPI NtFreeVirtualMemory(HANDLE,PVOID*,SIZE_T*,ULONG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment