Dependency fixes for winternl.h.
This commit is contained in:
parent
5f409c7d5b
commit
950e5e626c
|
@ -948,7 +948,8 @@ HANDLE WINAPI OpenWaitableTimerW( DWORD access, BOOL inherit, LPCWSTR name )
|
||||||
BOOL WINAPI SetWaitableTimer( HANDLE handle, const LARGE_INTEGER *when, LONG period,
|
BOOL WINAPI SetWaitableTimer( HANDLE handle, const LARGE_INTEGER *when, LONG period,
|
||||||
PTIMERAPCROUTINE callback, LPVOID arg, BOOL resume )
|
PTIMERAPCROUTINE callback, LPVOID arg, BOOL resume )
|
||||||
{
|
{
|
||||||
NTSTATUS status = NtSetTimer(handle, when, callback, arg, resume, period, NULL);
|
NTSTATUS status = NtSetTimer(handle, when, (PTIMER_APC_ROUTINE)callback,
|
||||||
|
arg, resume, period, NULL);
|
||||||
|
|
||||||
if (status != STATUS_SUCCESS)
|
if (status != STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
|
|
|
@ -645,7 +645,7 @@ NTSTATUS WINAPI NtNotifyChangeKey(
|
||||||
|
|
||||||
NTSTATUS WINAPI NtQueryMultipleValueKey(
|
NTSTATUS WINAPI NtQueryMultipleValueKey(
|
||||||
HKEY KeyHandle,
|
HKEY KeyHandle,
|
||||||
PVALENTW ListOfValuesToQuery,
|
PKEY_MULTIPLE_VALUE_INFORMATION ListOfValuesToQuery,
|
||||||
ULONG NumberOfItems,
|
ULONG NumberOfItems,
|
||||||
PVOID MultipleValueInformation,
|
PVOID MultipleValueInformation,
|
||||||
ULONG Length,
|
ULONG Length,
|
||||||
|
|
|
@ -456,7 +456,7 @@ NTSTATUS WINAPI NtOpenTimer(OUT PHANDLE handle,
|
||||||
*/
|
*/
|
||||||
NTSTATUS WINAPI NtSetTimer(IN HANDLE handle,
|
NTSTATUS WINAPI NtSetTimer(IN HANDLE handle,
|
||||||
IN const LARGE_INTEGER* when,
|
IN const LARGE_INTEGER* when,
|
||||||
IN PTIMERAPCROUTINE callback,
|
IN PTIMER_APC_ROUTINE callback,
|
||||||
IN PVOID callback_arg,
|
IN PVOID callback_arg,
|
||||||
IN BOOLEAN resume,
|
IN BOOLEAN resume,
|
||||||
IN ULONG period OPTIONAL,
|
IN ULONG period OPTIONAL,
|
||||||
|
|
|
@ -61,6 +61,21 @@ typedef struct _UNICODE_STRING {
|
||||||
|
|
||||||
typedef const UNICODE_STRING *PCUNICODE_STRING;
|
typedef const UNICODE_STRING *PCUNICODE_STRING;
|
||||||
|
|
||||||
|
#ifndef _FILETIME_
|
||||||
|
#define _FILETIME_
|
||||||
|
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
|
||||||
|
typedef struct _FILETIME
|
||||||
|
{
|
||||||
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
DWORD dwHighDateTime;
|
||||||
|
DWORD dwLowDateTime;
|
||||||
|
#else
|
||||||
|
DWORD dwLowDateTime;
|
||||||
|
DWORD dwHighDateTime;
|
||||||
|
#endif
|
||||||
|
} FILETIME, *PFILETIME, *LPFILETIME;
|
||||||
|
#endif /* _FILETIME_ */
|
||||||
|
|
||||||
typedef struct _CLIENT_ID
|
typedef struct _CLIENT_ID
|
||||||
{
|
{
|
||||||
HANDLE UniqueProcess;
|
HANDLE UniqueProcess;
|
||||||
|
@ -1423,6 +1438,16 @@ typedef struct _RTL_QUERY_REGISTRY_TABLE
|
||||||
ULONG DefaultLength;
|
ULONG DefaultLength;
|
||||||
} RTL_QUERY_REGISTRY_TABLE, *PRTL_QUERY_REGISTRY_TABLE;
|
} RTL_QUERY_REGISTRY_TABLE, *PRTL_QUERY_REGISTRY_TABLE;
|
||||||
|
|
||||||
|
typedef struct _KEY_MULTIPLE_VALUE_INFORMATION
|
||||||
|
{
|
||||||
|
PUNICODE_STRING ValueName;
|
||||||
|
ULONG DataLength;
|
||||||
|
ULONG DataOffset;
|
||||||
|
ULONG Type;
|
||||||
|
} KEY_MULTIPLE_VALUE_INFORMATION, *PKEY_MULTIPLE_VALUE_INFORMATION;
|
||||||
|
|
||||||
|
typedef VOID (*PTIMER_APC_ROUTINE) ( PVOID, ULONG, LONG );
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* Function declarations
|
* Function declarations
|
||||||
|
@ -1527,7 +1552,7 @@ NTSTATUS WINAPI NtQueryInformationThread(HANDLE,THREADINFOCLASS,PVOID,ULONG,PUL
|
||||||
NTSTATUS WINAPI NtQueryInformationToken(HANDLE,DWORD,LPVOID,DWORD,LPDWORD);
|
NTSTATUS WINAPI NtQueryInformationToken(HANDLE,DWORD,LPVOID,DWORD,LPDWORD);
|
||||||
NTSTATUS WINAPI NtQueryInstallUILanguage(LANGID*);
|
NTSTATUS WINAPI NtQueryInstallUILanguage(LANGID*);
|
||||||
NTSTATUS WINAPI NtQueryKey(HKEY,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *);
|
NTSTATUS WINAPI NtQueryKey(HKEY,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *);
|
||||||
NTSTATUS WINAPI NtQueryMultipleValueKey(HKEY,PVALENTW,ULONG,PVOID,ULONG,PULONG);
|
NTSTATUS WINAPI NtQueryMultipleValueKey(HKEY,PKEY_MULTIPLE_VALUE_INFORMATION,ULONG,PVOID,ULONG,PULONG);
|
||||||
NTSTATUS WINAPI NtQueryObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG, PULONG);
|
NTSTATUS WINAPI NtQueryObject(HANDLE, OBJECT_INFORMATION_CLASS, PVOID, ULONG, PULONG);
|
||||||
NTSTATUS WINAPI NtQueryPerformanceCounter(PLARGE_INTEGER, PLARGE_INTEGER);
|
NTSTATUS WINAPI NtQueryPerformanceCounter(PLARGE_INTEGER, PLARGE_INTEGER);
|
||||||
NTSTATUS WINAPI NtQuerySecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,ULONG,PULONG);
|
NTSTATUS WINAPI NtQuerySecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,ULONG,PULONG);
|
||||||
|
@ -1561,7 +1586,7 @@ NTSTATUS WINAPI NtSetInformationToken(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,ULON
|
||||||
NTSTATUS WINAPI NtSetIoCompletion(HANDLE,ULONG,ULONG,NTSTATUS,ULONG);
|
NTSTATUS WINAPI NtSetIoCompletion(HANDLE,ULONG,ULONG,NTSTATUS,ULONG);
|
||||||
NTSTATUS WINAPI NtSetSecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
NTSTATUS WINAPI NtSetSecurityObject(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
||||||
NTSTATUS WINAPI NtSetSystemTime(const LARGE_INTEGER*,LARGE_INTEGER*);
|
NTSTATUS WINAPI NtSetSystemTime(const LARGE_INTEGER*,LARGE_INTEGER*);
|
||||||
NTSTATUS WINAPI NtSetTimer(HANDLE, const LARGE_INTEGER*, PTIMERAPCROUTINE, PVOID, BOOLEAN, ULONG, BOOLEAN*);
|
NTSTATUS WINAPI NtSetTimer(HANDLE, const LARGE_INTEGER*, PTIMER_APC_ROUTINE, PVOID, BOOLEAN, ULONG, BOOLEAN*);
|
||||||
NTSTATUS WINAPI NtSetValueKey(HKEY,const UNICODE_STRING *,ULONG,ULONG,const void *,ULONG);
|
NTSTATUS WINAPI NtSetValueKey(HKEY,const UNICODE_STRING *,ULONG,ULONG,const void *,ULONG);
|
||||||
NTSTATUS WINAPI NtSignalAndWaitForSingleObject(HANDLE,HANDLE,BOOLEAN,const LARGE_INTEGER*);
|
NTSTATUS WINAPI NtSignalAndWaitForSingleObject(HANDLE,HANDLE,BOOLEAN,const LARGE_INTEGER*);
|
||||||
NTSTATUS WINAPI NtSuspendThread(HANDLE,PULONG);
|
NTSTATUS WINAPI NtSuspendThread(HANDLE,PULONG);
|
||||||
|
|
Loading…
Reference in New Issue