Remove useless Nt*Chanel and NtQueryOleDirectoryFile() prototypes.
Modified: trunk/reactos/include/ndk/zwfuncs.h

Modified: trunk/reactos/include/ndk/zwfuncs.h
--- trunk/reactos/include/ndk/zwfuncs.h	2005-06-26 19:32:24 UTC (rev 16299)
+++ trunk/reactos/include/ndk/zwfuncs.h	2005-06-26 19:57:29 UTC (rev 16300)
@@ -1,4094 +1,4051 @@
-/*
- * PROJECT:         ReactOS Native Headers
- * FILE:            include/ndk/zwfuncs.h
- * PURPOSE:         Defintions for Native Functions not defined in DDK/IFS
- * PROGRAMMER:      Alex Ionescu (alex@relsoft.net)
- * UPDATE HISTORY:
- *                  Created 06/10/04
- */
-#ifndef _ZWFUNCS_H
-#define _ZWFUNCS_H
-
-/* DEPENDENCIES **************************************************************/
-#include "lpctypes.h"
-#include "zwtypes.h"
-#include "kdtypes.h"
-#include <evntrace.h>
-
-/* FUNCTION TYPES ************************************************************/
-
-/* PROTOTYPES ****************************************************************/
-
-NTSTATUS
-STDCALL
-NtAcceptConnectPort(
-    PHANDLE PortHandle,
-    HANDLE NamedPortHandle,
-    PLPC_MESSAGE ServerReply,
-    BOOLEAN AcceptIt,
-    PLPC_SECTION_WRITE WriteMap,
-    PLPC_SECTION_READ ReadMap
-);
-
-NTSTATUS
-STDCALL
-NtAccessCheck(
-    IN PSECURITY_DESCRIPTOR SecurityDescriptor,
-    IN HANDLE ClientToken,
-    IN ACCESS_MASK DesiredAcces,
-    IN PGENERIC_MAPPING GenericMapping,
-    OUT PPRIVILEGE_SET PrivilegeSet,
-    OUT PULONG ReturnLength,
-    OUT PACCESS_MASK GrantedAccess,
-    OUT PNTSTATUS AccessStatus
-);
-
-NTSTATUS
-STDCALL
-ZwAccessCheck(
-    IN PSECURITY_DESCRIPTOR SecurityDescriptor,
-    IN HANDLE ClientToken,
-    IN ACCESS_MASK DesiredAcces,
-    IN PGENERIC_MAPPING GenericMapping,
-    OUT PPRIVILEGE_SET PrivilegeSet,
-    OUT PULONG ReturnLength,
-    OUT PACCESS_MASK GrantedAccess,
-    OUT PNTSTATUS AccessStatus
-);
-
-NTSTATUS
-STDCALL
-NtAccessCheckAndAuditAlarm(
-    IN PUNICODE_STRING SubsystemName,
-    IN PHANDLE ObjectHandle,
-    IN PUNICODE_STRING ObjectTypeName,
-    IN PUNICODE_STRING ObjectName,
-    IN PSECURITY_DESCRIPTOR SecurityDescriptor,
-    IN ACCESS_MASK DesiredAccess,
-    IN PGENERIC_MAPPING GenericMapping,
-    IN BOOLEAN ObjectCreation,
-    OUT PACCESS_MASK GrantedAccess,
-    OUT PNTSTATUS AccessStatus,
-    OUT PBOOLEAN GenerateOnClose
-);
-
-NTSTATUS
-STDCALL
-NtAddAtom(
-    IN     PWSTR  AtomName,
-    IN     ULONG AtomNameLength,
-    IN OUT PRTL_ATOM  Atom
-);
-
-NTSTATUS
-STDCALL
-ZwAddAtom(
-    IN     PWSTR  AtomName,
-    IN     ULONG AtomNameLength,
-    IN OUT PRTL_ATOM  Atom
-);
-
-NTSTATUS
-STDCALL
-NtAddBootEntry(
-    IN PUNICODE_STRING EntryName,
-    IN PUNICODE_STRING EntryValue
-);
-
-NTSTATUS
-STDCALL
-ZwAddBootEntry(
-    IN PUNICODE_STRING EntryName,
-    IN PUNICODE_STRING EntryValue
-);
-
-NTSTATUS
-STDCALL
-NtAdjustGroupsToken(
-    IN HANDLE TokenHandle,
-    IN BOOLEAN  ResetToDefault,
-    IN PTOKEN_GROUPS  NewState,
-    IN ULONG  BufferLength,
-    OUT PTOKEN_GROUPS  PreviousState OPTIONAL,
-    OUT PULONG  ReturnLength
-);
-
-NTSTATUS
-STDCALL
-ZwAdjustGroupsToken(
-    IN HANDLE TokenHandle,
-    IN BOOLEAN  ResetToDefault,
-    IN PTOKEN_GROUPS  NewState,
-    IN ULONG  BufferLength,
-    OUT PTOKEN_GROUPS  PreviousState,
-    OUT PULONG  ReturnLength
-);
-
-NTSTATUS
-STDCALL
-NtAdjustPrivilegesToken(
-    IN HANDLE  TokenHandle,
-    IN BOOLEAN  DisableAllPrivileges,
-    IN PTOKEN_PRIVILEGES  NewState,
-    IN ULONG  BufferLength,
-    OUT PTOKEN_PRIVILEGES  PreviousState,
-    OUT PULONG ReturnLength
-);
-
-NTSTATUS
-STDCALL
-ZwAdjustPrivilegesToken(
-    IN HANDLE  TokenHandle,
-    IN BOOLEAN  DisableAllPrivileges,
-    IN PTOKEN_PRIVILEGES  NewState,
-    IN ULONG  BufferLength,
-    OUT PTOKEN_PRIVILEGES  PreviousState,
-    OUT PULONG ReturnLength
-);
-
-NTSTATUS
-STDCALL
-NtAlertResumeThread(
-    IN HANDLE ThreadHandle,
-    OUT PULONG SuspendCount
-);
-
-NTSTATUS
-STDCALL
-ZwAlertResumeThread(
-    IN HANDLE ThreadHandle,
-    OUT PULONG SuspendCount
-);
-
-NTSTATUS
-STDCALL
-NtAlertThread(
-    IN HANDLE ThreadHandle
-);
-
-NTSTATUS
-STDCALL
-ZwAlertThread(
-    IN HANDLE ThreadHandle
-);
-
-NTSTATUS
-STDCALL
-NtAllocateLocallyUniqueId(
-    OUT LUID *LocallyUniqueId
-);
-
-NTSTATUS
-STDCALL
-ZwAllocateLocallyUniqueId(
-    OUT PLUID Luid
-);
-
-NTSTATUS
-STDCALL
-NtAllocateUuids(
-    PULARGE_INTEGER Time,
-    PULONG Range,
-    PULONG Sequence,
-    PUCHAR Seed
-);
-
-NTSTATUS
-STDCALL
-ZwAllocateUuids(
-    PULARGE_INTEGER Time,
-    PULONG Range,
-    PULONG Sequence,
-    PUCHAR Seed
-);
-
-NTSTATUS
-STDCALL
-NtAllocateVirtualMemory(
-    IN HANDLE ProcessHandle,
-    IN OUT PVOID *BaseAddress,
-    IN ULONG  ZeroBits,
-    IN OUT PULONG  RegionSize,
-    IN ULONG  AllocationType,
-    IN ULONG  Protect
-);
-
-NTSTATUS
-STDCALL
-ZwAllocateVirtualMemory(
-    IN HANDLE ProcessHandle,
-    IN OUT PVOID *BaseAddress,
-    IN ULONG  ZeroBits,
-    IN OUT PULONG  RegionSize,
-    IN ULONG  AllocationType,
-    IN ULONG  Protect
-);
-
-NTSTATUS
-STDCALL
-NtAssignProcessToJobObject(
-    HANDLE JobHandle,
-    HANDLE ProcessHandle
-);
-
-NTSTATUS
-STDCALL
-ZwAssignProcessToJobObject(
-    HANDLE JobHandle,
-    HANDLE ProcessHandle
-);
-
-NTSTATUS
-STDCALL
-NtCallbackReturn(
-    PVOID Result,
-    ULONG ResultLength,
-    NTSTATUS Status
-);
-
-NTSTATUS
-STDCALL
-ZwCallbackReturn(
-    PVOID Result,
-    ULONG ResultLength,
-    NTSTATUS Status
-);
-
-NTSTATUS
-STDCALL
-NtCancelIoFile(
-    IN HANDLE FileHandle,
-    OUT PIO_STATUS_BLOCK IoStatusBlock
-);
-
-NTSTATUS
-STDCALL
-ZwCancelIoFile(
-    IN HANDLE FileHandle,
-    OUT PIO_STATUS_BLOCK IoStatusBlock
-);
-
-NTSTATUS
-STDCALL
-NtCancelTimer(
-    IN HANDLE TimerHandle,
-    OUT PBOOLEAN CurrentState OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtClearEvent(
-    IN HANDLE EventHandle
-);
-
-NTSTATUS
-STDCALL
-ZwClearEvent(
-    IN HANDLE EventHandle
-);
-
-NTSTATUS
-STDCALL
-NtCreateJobObject(
-    PHANDLE JobHandle,
-    ACCESS_MASK DesiredAccess,
-    POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-ZwCreateJobObject(
-    PHANDLE JobHandle,
-    ACCESS_MASK DesiredAccess,
-    POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-NtClose(
-    IN HANDLE Handle
-);
-
-NTSTATUS
-STDCALL
-ZwClose(
-    IN HANDLE Handle
-);
-
-NTSTATUS
-STDCALL
-NtCloseObjectAuditAlarm(
-    IN PUNICODE_STRING SubsystemName,
-    IN PVOID HandleId,
-    IN BOOLEAN GenerateOnClose
-);
-
-NTSTATUS
-STDCALL
-ZwCloseObjectAuditAlarm(
-    IN PUNICODE_STRING SubsystemName,
-    IN PVOID HandleId,
-    IN BOOLEAN GenerateOnClose
-);
-
-NTSTATUS
-STDCALL
-NtCompleteConnectPort(
-    HANDLE PortHandle
-);
-
-NTSTATUS
-STDCALL
-ZwCompleteConnectPort(
-    HANDLE PortHandle
-);
-
-NTSTATUS
-STDCALL
-NtConnectPort(
-    PHANDLE PortHandle,
-    PUNICODE_STRING PortName,
-    PSECURITY_QUALITY_OF_SERVICE SecurityQos,
-    PLPC_SECTION_WRITE SectionInfo,
-    PLPC_SECTION_READ MapInfo,
-    PULONG MaxMessageSize,
-    PVOID ConnectInfo,
-    PULONG ConnectInfoLength
-);
-
-NTSTATUS
-STDCALL
-ZwConnectPort(
-    PHANDLE PortHandle,
-    PUNICODE_STRING PortName,
-    PSECURITY_QUALITY_OF_SERVICE SecurityQos,
-    PLPC_SECTION_WRITE SectionInfo,
-    PLPC_SECTION_READ MapInfo,
-    PULONG MaxMessageSize,
-    PVOID ConnectInfo,
-    PULONG ConnectInfoLength
-);
-
-NTSTATUS
-STDCALL
-NtContinue(
-    IN PCONTEXT Context,
-    IN BOOLEAN TestAlert
-);
-
-NTSTATUS
-STDCALL
-ZwContinue(
-    IN PCONTEXT Context,
-    IN CINT IrqLevel
-);
-
-NTSTATUS
-STDCALL
-NtCreateDirectoryObject(
-    OUT PHANDLE DirectoryHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-ZwCreateDirectoryObject(
-    OUT PHANDLE DirectoryHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-NtCreateEvent(
-    OUT PHANDLE EventHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN EVENT_TYPE EventType,
-    IN BOOLEAN InitialState
-);
-
-NTSTATUS
-STDCALL
-ZwCreateEvent(
-    OUT PHANDLE EventHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN EVENT_TYPE EventType,
-    IN BOOLEAN InitialState
-);
-
-NTSTATUS
-STDCALL
-NtCreateEventPair(
-    OUT PHANDLE EventPairHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-ZwCreateEventPair(
-    OUT PHANDLE EventPairHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-NtCreateFile(
-    OUT PHANDLE FileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN PLARGE_INTEGER AllocationSize OPTIONAL,
-    IN ULONG FileAttributes,
-    IN ULONG ShareAccess,
-    IN ULONG CreateDisposition,
-    IN ULONG CreateOptions,
-    IN PVOID EaBuffer OPTIONAL,
-    IN ULONG EaLength
-);
-
-NTSTATUS
-STDCALL
-ZwCreateFile(
-    OUT PHANDLE FileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN PLARGE_INTEGER AllocationSize OPTIONAL,
-    IN ULONG FileAttributes,
-    IN ULONG ShareAccess,
-    IN ULONG CreateDisposition,
-    IN ULONG CreateOptions,
-    IN PVOID EaBuffer OPTIONAL,
-    IN ULONG EaLength
-);
-
-NTSTATUS
-STDCALL
-NtCreateIoCompletion(
-    OUT PHANDLE             IoCompletionHandle,
-    IN  ACCESS_MASK         DesiredAccess,
-    IN  POBJECT_ATTRIBUTES  ObjectAttributes,
-    IN  ULONG               NumberOfConcurrentThreads
-    );
-
-NTSTATUS
-STDCALL
-ZwCreateIoCompletion(
-   OUT PHANDLE             IoCompletionHandle,
-   IN  ACCESS_MASK         DesiredAccess,
-   IN  POBJECT_ATTRIBUTES  ObjectAttributes,
-   IN  ULONG               NumberOfConcurrentThreads
-   );
-
-NTSTATUS
-STDCALL
-NtCreateKey(
-    OUT PHANDLE KeyHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN ULONG TitleIndex,
-    IN PUNICODE_STRING Class OPTIONAL,
-    IN ULONG CreateOptions,
-    IN PULONG Disposition OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-ZwCreateKey(
-    OUT PHANDLE KeyHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN ULONG TitleIndex,
-    IN PUNICODE_STRING Class OPTIONAL,
-    IN ULONG CreateOptions,
-    IN PULONG Disposition OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtCreateMailslotFile(
-    OUT PHANDLE MailSlotFileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG FileAttributes,
-    IN ULONG ShareAccess,
-    IN ULONG MaxMessageSize,
-    IN PLARGE_INTEGER TimeOut
-);
-
-NTSTATUS
-STDCALL
-ZwCreateMailslotFile(
-    OUT PHANDLE MailSlotFileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG FileAttributes,
-    IN ULONG ShareAccess,
-    IN ULONG MaxMessageSize,
-    IN PLARGE_INTEGER TimeOut
-);
-
-NTSTATUS
-STDCALL
-NtCreateMutant(
-    OUT PHANDLE MutantHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN BOOLEAN InitialOwner
-);
-
-NTSTATUS
-STDCALL
-ZwCreateMutant(
-    OUT PHANDLE MutantHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN BOOLEAN InitialOwner
-);
-
-NTSTATUS
-STDCALL
-NtCreateNamedPipeFile(
-    OUT PHANDLE NamedPipeFileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG ShareAccess,
-    IN ULONG CreateDisposition,
-    IN ULONG CreateOptions,
-    IN ULONG WriteModeMessage,
-    IN ULONG ReadModeMessage,
-    IN ULONG NonBlocking,
-    IN ULONG MaxInstances,
-    IN ULONG InBufferSize,
-    IN ULONG OutBufferSize,
-    IN PLARGE_INTEGER DefaultTimeOut
-);
-
-NTSTATUS
-STDCALL
-ZwCreateNamedPipeFile(
-    OUT PHANDLE NamedPipeFileHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG ShareAccess,
-    IN ULONG CreateDisposition,
-    IN ULONG CreateOptions,
-    IN ULONG WriteModeMessage,
-    IN ULONG ReadModeMessage,
-    IN ULONG NonBlocking,
-    IN ULONG MaxInstances,
-    IN ULONG InBufferSize,
-    IN ULONG OutBufferSize,
-    IN PLARGE_INTEGER DefaultTimeOut
-);
-
-NTSTATUS
-STDCALL
-NtCreatePagingFile(
-    IN PUNICODE_STRING FileName,
-    IN PLARGE_INTEGER InitialSize,
-    IN PLARGE_INTEGER MaxiumSize,
-    IN ULONG Reserved
-);
-
-NTSTATUS
-STDCALL
-ZwCreatePagingFile(
-    IN PUNICODE_STRING FileName,
-    IN PLARGE_INTEGER InitialSize,
-    IN PLARGE_INTEGER MaxiumSize,
-    IN ULONG Reserved
-);
-
-NTSTATUS
-STDCALL
-NtCreatePort(
-    PHANDLE PortHandle,
-    POBJECT_ATTRIBUTES ObjectAttributes,
-    ULONG MaxConnectInfoLength,
-    ULONG MaxDataLength,
-    ULONG NPMessageQueueSize OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtCreatePort(
-    PHANDLE PortHandle,
-    POBJECT_ATTRIBUTES ObjectAttributes,
-    ULONG MaxConnectInfoLength,
-    ULONG MaxDataLength,
-    ULONG NPMessageQueueSize OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtCreateProcess(
-    OUT PHANDLE ProcessHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN HANDLE ParentProcess,
-    IN BOOLEAN InheritObjectTable,
-    IN HANDLE SectionHandle OPTIONAL,
-    IN HANDLE DebugPort OPTIONAL,
-    IN HANDLE ExceptionPort OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-ZwCreateProcess(
-    OUT PHANDLE ProcessHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN HANDLE ParentProcess,
-    IN BOOLEAN InheritObjectTable,
-    IN HANDLE SectionHandle OPTIONAL,
-    IN HANDLE DebugPort OPTIONAL,
-    IN HANDLE ExceptionPort OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtCreateProfile(
-    OUT PHANDLE ProfileHandle,
-    IN HANDLE ProcessHandle,
-    IN PVOID ImageBase,
-    IN ULONG ImageSize,
-    IN ULONG Granularity,
-    OUT PVOID Buffer,
-    IN ULONG ProfilingSize,
-    IN KPROFILE_SOURCE Source,
-    IN KAFFINITY ProcessorMask
-);
-
-NTSTATUS
-STDCALL
-ZwCreateProfile(
-    OUT PHANDLE ProfileHandle,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN ULONG ImageBase,
-    IN ULONG ImageSize,
-    IN ULONG Granularity,
-    OUT PVOID Buffer,
-    IN ULONG ProfilingSize,
-    IN ULONG ClockSource,
-    IN ULONG ProcessorMask
-);
-
-NTSTATUS
-STDCALL
-NtCreateSection(
-    OUT PHANDLE SectionHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN PLARGE_INTEGER MaximumSize OPTIONAL,
-    IN ULONG SectionPageProtection OPTIONAL,
-    IN ULONG AllocationAttributes,
-    IN HANDLE FileHandle OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-ZwCreateSection(
-    OUT PHANDLE SectionHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN PLARGE_INTEGER MaximumSize OPTIONAL,
-    IN ULONG SectionPageProtection OPTIONAL,
-    IN ULONG AllocationAttributes,
-    IN HANDLE FileHandle OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtCreateSemaphore(
-    OUT PHANDLE SemaphoreHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN LONG InitialCount,
-    IN LONG MaximumCount
-);
-
-NTSTATUS
-STDCALL
-ZwCreateSemaphore(
-    OUT PHANDLE SemaphoreHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN LONG InitialCount,
-    IN LONG MaximumCount
-);
-
-NTSTATUS
-STDCALL
-NtCreateSymbolicLinkObject(
-    OUT PHANDLE SymbolicLinkHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN PUNICODE_STRING Name
-);
-
-NTSTATUS
-STDCALL
-ZwCreateSymbolicLinkObject(
-    OUT PHANDLE SymbolicLinkHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN PUNICODE_STRING Name
-);
-
-NTSTATUS
-STDCALL
-NtCreateThread(
-    OUT PHANDLE ThreadHandle,
-    IN  ACCESS_MASK DesiredAccess,
-    IN  POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN  HANDLE ProcessHandle,
-    OUT PCLIENT_ID ClientId,
-    IN  PCONTEXT ThreadContext,
-    IN  PINITIAL_TEB UserStack,
-    IN  BOOLEAN CreateSuspended
-);
-
-NTSTATUS
-STDCALL
-ZwCreateThread(
-    OUT PHANDLE ThreadHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN HANDLE ProcessHandle,
-    OUT PCLIENT_ID ClientId,
-    IN PCONTEXT ThreadContext,
-    IN PINITIAL_TEB UserStack,
-    IN BOOLEAN CreateSuspended
-);
-
-NTSTATUS
-STDCALL
-NtCreateTimer(
-    OUT PHANDLE TimerHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN TIMER_TYPE TimerType
-);
-
-NTSTATUS
-STDCALL
-ZwCreateTimer(
-    OUT PHANDLE TimerHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
-    IN TIMER_TYPE TimerType
-);
-
-NTSTATUS
-STDCALL
-NtCreateToken(
-    OUT PHANDLE TokenHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN TOKEN_TYPE TokenType,
-    IN PLUID AuthenticationId,
-    IN PLARGE_INTEGER ExpirationTime,
-    IN PTOKEN_USER TokenUser,
-    IN PTOKEN_GROUPS TokenGroups,
-    IN PTOKEN_PRIVILEGES TokenPrivileges,
-    IN PTOKEN_OWNER TokenOwner,
-    IN PTOKEN_PRIMARY_GROUP TokenPrimaryGroup,
-    IN PTOKEN_DEFAULT_DACL TokenDefaultDacl,
-    IN PTOKEN_SOURCE TokenSource
-);
-
-NTSTATUS
-STDCALL
-ZwCreateToken(
-    OUT PHANDLE TokenHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN POBJECT_ATTRIBUTES ObjectAttributes,
-    IN TOKEN_TYPE TokenType,
-    IN PLUID AuthenticationId,
-    IN PLARGE_INTEGER ExpirationTime,
-    IN PTOKEN_USER TokenUser,
-    IN PTOKEN_GROUPS TokenGroups,
-    IN PTOKEN_PRIVILEGES TokenPrivileges,
-    IN PTOKEN_OWNER TokenOwner,
-    IN PTOKEN_PRIMARY_GROUP TokenPrimaryGroup,
-    IN PTOKEN_DEFAULT_DACL TokenDefaultDacl,
-    IN PTOKEN_SOURCE TokenSource
-);
-
-NTSTATUS
-STDCALL
-NtCreateWaitablePort(
-    PHANDLE PortHandle,
-    POBJECT_ATTRIBUTES ObjectAttributes,
-    ULONG MaxConnectInfoLength,
-    ULONG MaxDataLength,
-    ULONG NPMessageQueueSize OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-ZwCreateWaitablePort(
-    PHANDLE PortHandle,
-    POBJECT_ATTRIBUTES ObjectAttributes,
-    ULONG MaxConnectInfoLength,
-    ULONG MaxDataLength,
-    ULONG NPMessageQueueSize OPTIONAL
-);
-
-NTSTATUS
-STDCALL
-NtDelayExecution(
-    IN BOOLEAN Alertable,
-    IN LARGE_INTEGER *Interval
-);
-
-NTSTATUS
-STDCALL
-ZwDelayExecution(
-    IN BOOLEAN Alertable,
-    IN LARGE_INTEGER *Interval
-);
-
-NTSTATUS
-STDCALL
-NtDeleteAtom(
-    IN RTL_ATOM Atom
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteAtom(
-    IN RTL_ATOM Atom
-);
-
-NTSTATUS
-STDCALL
-NtDeleteBootEntry(
-    IN PUNICODE_STRING EntryName,
-    IN PUNICODE_STRING EntryValue
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteBootEntry(
-    IN PUNICODE_STRING EntryName,
-    IN PUNICODE_STRING EntryValue
-);
-
-NTSTATUS
-STDCALL
-NtDeleteFile(
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteFile(
-    IN POBJECT_ATTRIBUTES ObjectAttributes
-);
-
-NTSTATUS
-STDCALL
-NtDeleteKey(
-    IN HANDLE KeyHandle
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteKey(
-    IN HANDLE KeyHandle
-);
-
-NTSTATUS
-STDCALL
-NtDeleteObjectAuditAlarm(
-    IN PUNICODE_STRING SubsystemName,
-    IN PVOID HandleId,
-    IN BOOLEAN GenerateOnClose
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteObjectAuditAlarm(
-    IN PUNICODE_STRING SubsystemName,
-    IN PVOID HandleId,
-    IN BOOLEAN GenerateOnClose
-);
-
-NTSTATUS
-STDCALL
-NtDeleteValueKey(
-    IN HANDLE KeyHandle,
-    IN PUNICODE_STRING ValueName
-);
-
-NTSTATUS
-STDCALL
-ZwDeleteValueKey(
-    IN HANDLE KeyHandle,
-    IN PUNICODE_STRING ValueName
-);
-
-NTSTATUS
-STDCALL
-NtDeviceIoControlFile(
-    IN HANDLE DeviceHandle,
-    IN HANDLE Event OPTIONAL,
-    IN PIO_APC_ROUTINE UserApcRoutine OPTIONAL,
-    IN PVOID UserApcContext OPTIONAL,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG IoControlCode,
-    IN PVOID InputBuffer,
-    IN ULONG InputBufferSize,
-    OUT PVOID OutputBuffer,
-    IN ULONG OutputBufferSize
-);
-
-NTSTATUS
-STDCALL
-ZwDeviceIoControlFile(
-    IN HANDLE DeviceHandle,
-    IN HANDLE Event OPTIONAL,
-    IN PIO_APC_ROUTINE UserApcRoutine OPTIONAL,
-    IN PVOID UserApcContext OPTIONAL,
-    OUT PIO_STATUS_BLOCK IoStatusBlock,
-    IN ULONG IoControlCode,
-    IN PVOID InputBuffer,
-    IN ULONG InputBufferSize,
-    OUT PVOID OutputBuffer,
-    IN ULONG OutputBufferSize
-);
-
-NTSTATUS
-STDCALL
-NtDisplayString(
-    IN PUNICODE_STRING DisplayString
-);
-
-NTSTATUS
-STDCALL
-ZwDisplayString(
-    IN PUNICODE_STRING DisplayString
-);
-
-NTSTATUS
-STDCALL
-NtDuplicateObject(
-    IN HANDLE SourceProcessHandle,
-    IN HANDLE SourceHandle,
-    IN HANDLE TargetProcessHandle,
-    OUT PHANDLE TargetHandle,
-    IN ACCESS_MASK DesiredAccess,
-    IN ULONG HandleAttributes,
-    IN ULONG Options
-);
-
[truncated at 1000 lines; 7150 more skipped]