Commit f20cd498 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntoskrnel.exe: Better match the PSDK types and fix the winapi_check warnings.

parent cd1c07b4
......@@ -461,7 +461,7 @@ ULONG WINAPI KeQueryTimeIncrement(void)
/***********************************************************************
* MmAllocateNonCachedMemory (NTOSKRNL.EXE.@)
*/
LPVOID WINAPI MmAllocateNonCachedMemory( SIZE_T size )
PVOID WINAPI MmAllocateNonCachedMemory( SIZE_T size )
{
TRACE( "%lu\n", size );
return VirtualAlloc( NULL, size, MEM_RESERVE|MEM_COMMIT, PAGE_READWRITE|PAGE_NOCACHE );
......
......@@ -886,7 +886,7 @@ void WINAPI KeQuerySystemTime(LARGE_INTEGER*);
void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG WINAPI KeQueryTimeIncrement(void);
LPVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
#define PsGetCurrentProcess() IoGetCurrentProcess()
......@@ -956,7 +956,7 @@ NTSTATUS WINAPI ZwQueryEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID
NTSTATUS WINAPI ZwQueryFullAttributesFile(const OBJECT_ATTRIBUTES*,FILE_NETWORK_OPEN_INFORMATION*);
NTSTATUS WINAPI ZwQueryInformationFile(HANDLE,PIO_STATUS_BLOCK,PVOID,LONG,FILE_INFORMATION_CLASS);
NTSTATUS WINAPI ZwQueryInformationThread(HANDLE,THREADINFOCLASS,PVOID,ULONG,PULONG);
NTSTATUS WINAPI ZwQueryInformationToken(HANDLE,DWORD,LPVOID,DWORD,LPDWORD);
NTSTATUS WINAPI ZwQueryInformationToken(HANDLE,DWORD,PVOID,DWORD,LPDWORD);
NTSTATUS WINAPI ZwQueryInstallUILanguage(LANGID*);
NTSTATUS WINAPI ZwQueryKey(HANDLE,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *);
NTSTATUS WINAPI ZwQueryObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG, PULONG);
......
......@@ -3238,6 +3238,35 @@ LPSTR
LPCWSTR
LPWSTR
%%ntoskrnl.exe
%long
BOOLEAN
DEVICE_TYPE
HANDLE
NTSTATUS
POOL_TYPE
SIZE_T
ULONG
%ptr
DEVICE_OBJECT *
DEVICE_OBJECT **
DRIVER_OBJECT *
LARGE_INTEGER *
PCREATE_PROCESS_NOTIFY_ROUTINE
PKTIMER
PVOID
ULONG *
UNICODE_STRING *
void *
%void
void
%%odbc32.dll
%long
......
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