* include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing

and vice versa.
	* include/ddk/ntifs.h: Ditto.
	* include/ddk/winddk.h: Ditto.
	* lib/ntdll.def (NtPlugPlayControl, NtQueryInstallUILanguage,
	ZwPlugPlayControl, ZwQueryInstallUILanguage): Add entry points defined
	in header, but missing in lib.  Omit NT4-only entry points.
This commit is contained in:
Corinna Vinschen 2009-06-07 11:40:09 +00:00
parent cf2e7e9cbc
commit 1866410bb8
5 changed files with 2029 additions and 12 deletions

View File

@ -1,3 +1,13 @@
2009-06-07 Corinna Vinschen <corinna@vinschen.de>
* include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing
and vice versa.
* include/ddk/ntifs.h: Ditto.
* include/ddk/winddk.h: Ditto.
* lib/ntdll.def (NtPlugPlayControl, NtQueryInstallUILanguage,
ZwPlugPlayControl, ZwQueryInstallUILanguage): Add entry points defined
in header, but missing in lib. Omit NT4-only entry points.
2009-05-01 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shellapi.h (SHIL_LARGE, SHIL_SMALL, SHIL_EXTRALARGE,

File diff suppressed because it is too large Load Diff

View File

@ -4057,6 +4057,18 @@ SeUnregisterLogonSessionTerminatedRoutine (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtAdjustPrivilegesToken (
/*IN*/ HANDLE TokenHandle,
/*IN*/ BOOLEAN DisableAllPrivileges,
/*IN*/ PTOKEN_PRIVILEGES NewState,
/*IN*/ ULONG BufferLength,
/*OUT*/ PTOKEN_PRIVILEGES PreviousState /*OPTIONAL*/,
/*OUT*/ PULONG ReturnLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4071,6 +4083,13 @@ ZwAdjustPrivilegesToken (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtAlertThread (
/*IN*/ HANDLE ThreadHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4078,6 +4097,18 @@ ZwAlertThread (
/*IN*/ HANDLE ThreadHandle
);
NTSYSAPI
NTSTATUS
NTAPI
NtAllocateVirtualMemory (
/*IN*/ HANDLE ProcessHandle,
/*IN OUT*/ PVOID *BaseAddress,
/*IN*/ ULONG ZeroBits,
/*IN OUT*/ PULONG RegionSize,
/*IN*/ ULONG AllocationType,
/*IN*/ ULONG Protect
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4090,6 +4121,23 @@ ZwAllocateVirtualMemory (
/*IN*/ ULONG Protect
);
NTSYSAPI
NTSTATUS
NTAPI
NtAccessCheckAndAuditAlarm (
/*IN*/ PUNICODE_STRING SubsystemName,
/*IN*/ PVOID HandleId,
/*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*/ PBOOLEAN AccessStatus,
/*OUT*/ PBOOLEAN GenerateOnClose
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4109,6 +4157,14 @@ ZwAccessCheckAndAuditAlarm (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtCancelIoFile (
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4119,6 +4175,13 @@ ZwCancelIoFile (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtClearEvent (
/*IN*/ HANDLE EventHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4126,6 +4189,15 @@ ZwClearEvent (
/*IN*/ HANDLE EventHandle
);
NTSYSAPI
NTSTATUS
NTAPI
NtCloseObjectAuditAlarm (
/*IN*/ PUNICODE_STRING SubsystemName,
/*IN*/ PVOID HandleId,
/*IN*/ BOOLEAN GenerateOnClose
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4135,6 +4207,19 @@ ZwCloseObjectAuditAlarm (
/*IN*/ BOOLEAN GenerateOnClose
);
NTSYSAPI
NTSTATUS
NTAPI
NtCreateSection (
/*OUT*/ PHANDLE SectionHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes /*OPTIONAL*/,
/*IN*/ PLARGE_INTEGER MaximumSize /*OPTIONAL*/,
/*IN*/ ULONG SectionPageProtection,
/*IN*/ ULONG AllocationAttributes,
/*IN*/ HANDLE FileHandle /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4148,6 +4233,16 @@ ZwCreateSection (
/*IN*/ HANDLE FileHandle /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtCreateSymbolicLinkObject (
/*OUT*/ PHANDLE SymbolicLinkHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes,
/*IN*/ PUNICODE_STRING TargetName
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4158,6 +4253,13 @@ ZwCreateSymbolicLinkObject (
/*IN*/ PUNICODE_STRING TargetName
);
NTSYSAPI
NTSTATUS
NTAPI
NtDeleteFile (
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4165,6 +4267,14 @@ ZwDeleteFile (
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtDeleteValueKey (
/*IN*/ HANDLE Handle,
/*IN*/ PUNICODE_STRING Name
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4173,6 +4283,22 @@ ZwDeleteValueKey (
/*IN*/ PUNICODE_STRING Name
);
NTSYSAPI
NTSTATUS
NTAPI
NtDeviceIoControlFile (
/*IN*/ HANDLE FileHandle,
/*IN*/ HANDLE Event /*OPTIONAL*/,
/*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/,
/*IN*/ PVOID ApcContext /*OPTIONAL*/,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*IN*/ ULONG IoControlCode,
/*IN*/ PVOID InputBuffer /*OPTIONAL*/,
/*IN*/ ULONG InputBufferLength,
/*OUT*/ PVOID OutputBuffer /*OPTIONAL*/,
/*IN*/ ULONG OutputBufferLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4189,6 +4315,13 @@ ZwDeviceIoControlFile (
/*IN*/ ULONG OutputBufferLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtDisplayString (
/*IN*/ PUNICODE_STRING String
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4196,6 +4329,19 @@ ZwDisplayString (
/*IN*/ PUNICODE_STRING String
);
NTSYSAPI
NTSTATUS
NTAPI
NtDuplicateObject (
/*IN*/ HANDLE SourceProcessHandle,
/*IN*/ HANDLE SourceHandle,
/*IN*/ HANDLE TargetProcessHandle /*OPTIONAL*/,
/*OUT*/ PHANDLE TargetHandle /*OPTIONAL*/,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ ULONG HandleAttributes,
/*IN*/ ULONG Options
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4209,6 +4355,18 @@ ZwDuplicateObject (
/*IN*/ ULONG Options
);
NTSYSAPI
NTSTATUS
NTAPI
NtDuplicateToken (
/*IN*/ HANDLE ExistingTokenHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes,
/*IN*/ BOOLEAN EffectiveOnly,
/*IN*/ TOKEN_TYPE TokenType,
/*OUT*/ PHANDLE NewTokenHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4221,6 +4379,15 @@ ZwDuplicateToken (
/*OUT*/ PHANDLE NewTokenHandle
);
NTSYSAPI
NTSTATUS
NTAPI
NtFlushInstructionCache (
/*IN*/ HANDLE ProcessHandle,
/*IN*/ PVOID BaseAddress /*OPTIONAL*/,
/*IN*/ ULONG FlushSize
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4232,6 +4399,16 @@ ZwFlushInstructionCache (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtFlushVirtualMemory (
/*IN*/ HANDLE ProcessHandle,
/*IN OUT*/ PVOID *BaseAddress,
/*IN OUT*/ PULONG FlushSize,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4244,6 +4421,16 @@ ZwFlushVirtualMemory (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtFreeVirtualMemory (
/*IN*/ HANDLE ProcessHandle,
/*IN OUT*/ PVOID *BaseAddress,
/*IN OUT*/ PULONG RegionSize,
/*IN*/ ULONG FreeType
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4254,6 +4441,22 @@ ZwFreeVirtualMemory (
/*IN*/ ULONG FreeType
);
NTSYSAPI
NTSTATUS
NTAPI
NtFsControlFile (
/*IN*/ HANDLE FileHandle,
/*IN*/ HANDLE Event /*OPTIONAL*/,
/*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/,
/*IN*/ PVOID ApcContext /*OPTIONAL*/,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*IN*/ ULONG FsControlCode,
/*IN*/ PVOID InputBuffer /*OPTIONAL*/,
/*IN*/ ULONG InputBufferLength,
/*OUT*/ PVOID OutputBuffer /*OPTIONAL*/,
/*IN*/ ULONG OutputBufferLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4272,6 +4475,16 @@ ZwFsControlFile (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtInitiatePowerAction (
/*IN*/ POWER_ACTION SystemAction,
/*IN*/ SYSTEM_POWER_STATE MinSystemState,
/*IN*/ ULONG Flags,
/*IN*/ BOOLEAN Asynchronous
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4284,6 +4497,14 @@ ZwInitiatePowerAction (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtLoadDriver (
/* "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\<DriverName>" */
/*IN*/ PUNICODE_STRING RegistryPath
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4292,6 +4513,14 @@ ZwLoadDriver (
/*IN*/ PUNICODE_STRING RegistryPath
);
NTSYSAPI
NTSTATUS
NTAPI
NtLoadKey (
/*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes,
/*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4300,6 +4529,22 @@ ZwLoadKey (
/*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtNotifyChangeKey (
/*IN*/ HANDLE KeyHandle,
/*IN*/ HANDLE EventHandle /*OPTIONAL*/,
/*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/,
/*IN*/ PVOID ApcContext /*OPTIONAL*/,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*IN*/ ULONG NotifyFilter,
/*IN*/ BOOLEAN WatchSubtree,
/*IN*/ PVOID Buffer,
/*IN*/ ULONG BufferLength,
/*IN*/ BOOLEAN Asynchronous
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4316,6 +4561,15 @@ ZwNotifyChangeKey (
/*IN*/ BOOLEAN Asynchronous
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenDirectoryObject (
/*OUT*/ PHANDLE DirectoryHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4325,6 +4579,15 @@ ZwOpenDirectoryObject (
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenEvent (
/*OUT*/ PHANDLE EventHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4334,6 +4597,16 @@ ZwOpenEvent (
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenProcess (
/*OUT*/ PHANDLE ProcessHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes,
/*IN*/ PCLIENT_ID ClientId /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4344,6 +4617,15 @@ ZwOpenProcess (
/*IN*/ PCLIENT_ID ClientId /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenProcessToken (
/*IN*/ HANDLE ProcessHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*OUT*/ PHANDLE TokenHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4353,6 +4635,16 @@ ZwOpenProcessToken (
/*OUT*/ PHANDLE TokenHandle
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenThread (
/*OUT*/ PHANDLE ThreadHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes,
/*IN*/ PCLIENT_ID ClientId
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4363,6 +4655,16 @@ ZwOpenThread (
/*IN*/ PCLIENT_ID ClientId
);
NTSYSAPI
NTSTATUS
NTAPI
NtOpenThreadToken (
/*IN*/ HANDLE ThreadHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ BOOLEAN OpenAsSelf,
/*OUT*/ PHANDLE TokenHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4375,6 +4677,17 @@ ZwOpenThreadToken (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtPowerInformation (
/*IN*/ POWER_INFORMATION_LEVEL PowerInformationLevel,
/*IN*/ PVOID InputBuffer /*OPTIONAL*/,
/*IN*/ ULONG InputBufferLength,
/*OUT*/ PVOID OutputBuffer /*OPTIONAL*/,
/*IN*/ ULONG OutputBufferLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4388,6 +4701,14 @@ ZwPowerInformation (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtPulseEvent (
/*IN*/ HANDLE EventHandle,
/*OUT*/ PULONG PreviousState /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4396,6 +4717,14 @@ ZwPulseEvent (
/*OUT*/ PULONG PreviousState /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryDefaultLocale (
/*IN*/ BOOLEAN ThreadOrSystem,
/*OUT*/ PLCID Locale
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4404,6 +4733,23 @@ ZwQueryDefaultLocale (
/*OUT*/ PLCID Locale
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryDirectoryFile (
/*IN*/ HANDLE FileHandle,
/*IN*/ HANDLE Event /*OPTIONAL*/,
/*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/,
/*IN*/ PVOID ApcContext /*OPTIONAL*/,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*OUT*/ PVOID FileInformation,
/*IN*/ ULONG Length,
/*IN*/ FILE_INFORMATION_CLASS FileInformationClass,
/*IN*/ BOOLEAN ReturnSingleEntry,
/*IN*/ PUNICODE_STRING FileName /*OPTIONAL*/,
/*IN*/ BOOLEAN RestartScan
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4423,6 +4769,19 @@ ZwQueryDirectoryFile (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtQueryDirectoryObject (
/*IN*/ HANDLE DirectoryHandle,
/*OUT*/ PVOID Buffer,
/*IN*/ ULONG Length,
/*IN*/ BOOLEAN ReturnSingleEntry,
/*IN*/ BOOLEAN RestartScan,
/*IN OUT*/ PULONG Context,
/*OUT*/ PULONG ReturnLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4436,6 +4795,21 @@ ZwQueryDirectoryObject (
/*OUT*/ PULONG ReturnLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryEaFile (
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*OUT*/ PVOID Buffer,
/*IN*/ ULONG Length,
/*IN*/ BOOLEAN ReturnSingleEntry,
/*IN*/ PVOID EaList /*OPTIONAL*/,
/*IN*/ ULONG EaListLength,
/*IN*/ PULONG EaIndex /*OPTIONAL*/,
/*IN*/ BOOLEAN RestartScan
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4453,6 +4827,17 @@ ZwQueryEaFile (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtQueryInformationProcess (
/*IN*/ HANDLE ProcessHandle,
/*IN*/ PROCESSINFOCLASS ProcessInformationClass,
/*OUT*/ PVOID ProcessInformation,
/*IN*/ ULONG ProcessInformationLength,
/*OUT*/ PULONG ReturnLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4464,6 +4849,17 @@ ZwQueryInformationProcess (
/*OUT*/ PULONG ReturnLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryInformationToken (
/*IN*/ HANDLE TokenHandle,
/*IN*/ TOKEN_INFORMATION_CLASS TokenInformationClass,
/*OUT*/ PVOID TokenInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4475,6 +4871,17 @@ ZwQueryInformationToken (
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryObject (
/*IN*/ HANDLE ObjectHandle,
/*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass,
/*OUT*/ PVOID ObjectInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4486,6 +4893,17 @@ ZwQueryObject (
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtQuerySection (
/*IN*/ HANDLE SectionHandle,
/*IN*/ SECTION_INFORMATION_CLASS SectionInformationClass,
/*OUT*/ PVOID SectionInformation,
/*IN*/ ULONG SectionInformationLength,
/*OUT*/ PULONG ResultLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4497,6 +4915,17 @@ ZwQuerySection (
/*OUT*/ PULONG ResultLength /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtQuerySecurityObject (
/*IN*/ HANDLE FileHandle,
/*IN*/ SECURITY_INFORMATION SecurityInformation,
/*OUT*/ PSECURITY_DESCRIPTOR SecurityDescriptor,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4508,6 +4937,16 @@ ZwQuerySecurityObject (
/*OUT*/ PULONG ResultLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtQuerySystemInformation (
/*IN*/ SYSTEM_INFORMATION_CLASS SystemInformationClass,
/*OUT*/ PVOID SystemInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ReturnLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4518,6 +4957,17 @@ ZwQuerySystemInformation (
/*OUT*/ PULONG ReturnLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtQueryVolumeInformationFile (
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*OUT*/ PVOID FsInformation,
/*IN*/ ULONG Length,
/*IN*/ FS_INFORMATION_CLASS FsInformationClass
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4529,6 +4979,15 @@ ZwQueryVolumeInformationFile (
/*IN*/ FS_INFORMATION_CLASS FsInformationClass
);
NTSYSAPI
NTSTATUS
NTAPI
NtReplaceKey (
/*IN*/ POBJECT_ATTRIBUTES NewFileObjectAttributes,
/*IN*/ HANDLE KeyHandle,
/*IN*/ POBJECT_ATTRIBUTES OldFileObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4538,6 +4997,14 @@ ZwReplaceKey (
/*IN*/ POBJECT_ATTRIBUTES OldFileObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtResetEvent (
/*IN*/ HANDLE EventHandle,
/*OUT*/ PULONG PreviousState /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4548,6 +5015,15 @@ ZwResetEvent (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtRestoreKey (
/*IN*/ HANDLE KeyHandle,
/*IN*/ HANDLE FileHandle,
/*IN*/ ULONG Flags
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4559,6 +5035,14 @@ ZwRestoreKey (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtSaveKey (
/*IN*/ HANDLE KeyHandle,
/*IN*/ HANDLE FileHandle
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4567,6 +5051,14 @@ ZwSaveKey (
/*IN*/ HANDLE FileHandle
);
NTSYSAPI
NTSTATUS
NTAPI
NtSetDefaultLocale (
/*IN*/ BOOLEAN ThreadOrSystem,
/*IN*/ LCID Locale
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4577,6 +5069,13 @@ ZwSetDefaultLocale (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtSetDefaultUILanguage (
/*IN*/ LANGID LanguageId
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4584,6 +5083,16 @@ ZwSetDefaultUILanguage (
/*IN*/ LANGID LanguageId
);
NTSYSAPI
NTSTATUS
NTAPI
NtSetEaFile (
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*OUT*/ PVOID Buffer,
/*IN*/ ULONG Length
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4596,6 +5105,14 @@ ZwSetEaFile (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtSetEvent (
/*IN*/ HANDLE EventHandle,
/*OUT*/ PULONG PreviousState /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4604,6 +5121,16 @@ ZwSetEvent (
/*OUT*/ PULONG PreviousState /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtSetInformationObject (
/*IN*/ HANDLE ObjectHandle,
/*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass,
/*IN*/ PVOID ObjectInformation,
/*IN*/ ULONG ObjectInformationLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4614,6 +5141,16 @@ ZwSetInformationObject (
/*IN*/ ULONG ObjectInformationLength
);
NTSYSAPI
NTSTATUS
NTAPI
NtSetInformationProcess (
/*IN*/ HANDLE ProcessHandle,
/*IN*/ PROCESSINFOCLASS ProcessInformationClass,
/*IN*/ PVOID ProcessInformation,
/*IN*/ ULONG ProcessInformationLength
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4626,6 +5163,15 @@ ZwSetInformationProcess (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtSetSecurityObject (
/*IN*/ HANDLE Handle,
/*IN*/ SECURITY_INFORMATION SecurityInformation,
/*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4637,6 +5183,15 @@ ZwSetSecurityObject (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtSetSystemInformation (
/*IN*/ SYSTEM_INFORMATION_CLASS SystemInformationClass,
/*IN*/ PVOID SystemInformation,
/*IN*/ ULONG Length
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4646,6 +5201,14 @@ ZwSetSystemInformation (
/*IN*/ ULONG Length
);
NTSYSAPI
NTSTATUS
NTAPI
NtSetSystemTime (
/*IN*/ PLARGE_INTEGER NewTime,
/*OUT*/ PLARGE_INTEGER OldTime /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4656,6 +5219,17 @@ ZwSetSystemTime (
#if (VER_PRODUCTBUILD >= 2195)
NTSYSAPI
NTSTATUS
NTAPI
NtSetVolumeInformationFile (
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*IN*/ PVOID FsInformation,
/*IN*/ ULONG Length,
/*IN*/ FS_INFORMATION_CLASS FsInformationClass
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4669,6 +5243,14 @@ ZwSetVolumeInformationFile (
#endif /* (VER_PRODUCTBUILD >= 2195) */
NTSYSAPI
NTSTATUS
NTAPI
NtTerminateProcess (
/*IN*/ HANDLE ProcessHandle /*OPTIONAL*/,
/*IN*/ NTSTATUS ExitStatus
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4677,6 +5259,14 @@ ZwTerminateProcess (
/*IN*/ NTSTATUS ExitStatus
);
NTSYSAPI
NTSTATUS
NTAPI
NtUnloadDriver (
/* "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\<DriverName>" */
/*IN*/ PUNICODE_STRING RegistryPath
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4685,6 +5275,13 @@ ZwUnloadDriver (
/*IN*/ PUNICODE_STRING RegistryPath
);
NTSYSAPI
NTSTATUS
NTAPI
NtUnloadKey (
/*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4692,6 +5289,15 @@ ZwUnloadKey (
/*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes
);
NTSYSAPI
NTSTATUS
NTAPI
NtWaitForSingleObject (
/*IN*/ HANDLE Handle,
/*IN*/ BOOLEAN Alertable,
/*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4701,6 +5307,17 @@ ZwWaitForSingleObject (
/*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtWaitForMultipleObjects (
/*IN*/ ULONG HandleCount,
/*IN*/ PHANDLE Handles,
/*IN*/ WAIT_TYPE WaitType,
/*IN*/ BOOLEAN Alertable,
/*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
@ -4712,6 +5329,13 @@ ZwWaitForMultipleObjects (
/*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/
);
NTSYSAPI
NTSTATUS
NTAPI
NtYieldExecution (
VOID
);
NTSYSAPI
NTSTATUS
NTAPI

View File

@ -8573,6 +8573,13 @@ NtQueryInformationProcess(
/** NtXxx and ZwXxx routines **/
NTOSAPI
NTSTATUS
DDKAPI
NtCancelTimer(
/*IN*/ HANDLE TimerHandle,
/*OUT*/ PBOOLEAN CurrentState /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
@ -8592,6 +8599,14 @@ DDKAPI
ZwClose(
/*IN*/ HANDLE Handle);
NTOSAPI
NTSTATUS
DDKAPI
NtCreateDirectoryObject(
/*OUT*/ PHANDLE DirectoryHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
@ -8620,6 +8635,22 @@ ZwCreateEvent(
/*IN*/ BOOLEAN ManualReset,
/*IN*/ BOOLEAN InitialState);
NTOSAPI
NTSTATUS
DDKAPI
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);
NTOSAPI
NTSTATUS
DDKAPI
@ -8636,6 +8667,18 @@ ZwCreateFile(
/*IN*/ PVOID EaBuffer /*OPTIONAL*/,
/*IN*/ ULONG EaLength);
NTOSAPI
NTSTATUS
DDKAPI
NtCreateKey(
/*OUT*/ PHANDLE KeyHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes,
/*IN*/ ULONG TitleIndex,
/*IN*/ PUNICODE_STRING Class /*OPTIONAL*/,
/*IN*/ ULONG CreateOptions,
/*OUT*/ PULONG Disposition /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
@ -8648,6 +8691,15 @@ ZwCreateKey(
/*IN*/ ULONG CreateOptions,
/*OUT*/ PULONG Disposition /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
NtCreateTimer(
/*OUT*/ PHANDLE TimerHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes /*OPTIONAL*/,
/*IN*/ TIMER_TYPE TimerType);
NTOSAPI
NTSTATUS
DDKAPI
@ -8657,12 +8709,25 @@ ZwCreateTimer(
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes /*OPTIONAL*/,
/*IN*/ TIMER_TYPE TimerType);
NTOSAPI
NTSTATUS
DDKAPI
NtDeleteKey(
/*IN*/ HANDLE KeyHandle);
NTOSAPI
NTSTATUS
DDKAPI
ZwDeleteKey(
/*IN*/ HANDLE KeyHandle);
NTOSAPI
NTSTATUS
DDKAPI
NtDeleteValueKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ PUNICODE_STRING ValueName);
NTOSAPI
NTSTATUS
DDKAPI
@ -8700,6 +8765,17 @@ ZwDeviceIoControlFile(
/*OUT*/ PVOID OutputBuffer,
/*IN*/ ULONG OutputBufferSize);
NTOSAPI
NTSTATUS
DDKAPI
NtEnumerateKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ ULONG Index,
/*IN*/ KEY_INFORMATION_CLASS KeyInformationClass,
/*OUT*/ PVOID KeyInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
@ -8711,6 +8787,17 @@ ZwEnumerateKey(
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
NtEnumerateValueKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ ULONG Index,
/*IN*/ KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass,
/*OUT*/ PVOID KeyValueInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
@ -8722,12 +8809,24 @@ ZwEnumerateValueKey(
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
NtFlushKey(
/*IN*/ HANDLE KeyHandle);
NTOSAPI
NTSTATUS
DDKAPI
ZwFlushKey(
/*IN*/ HANDLE KeyHandle);
NTOSAPI
NTSTATUS
DDKAPI
NtMakeTemporaryObject(
/*IN*/ HANDLE Handle);
NTOSAPI
NTSTATUS
DDKAPI
@ -8786,6 +8885,14 @@ ZwOpenFile(
/*IN*/ ULONG ShareAccess,
/*IN*/ ULONG OpenOptions);
NTOSAPI
NTSTATUS
DDKAPI
NtOpenKey(
/*OUT*/ PHANDLE KeyHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
@ -8794,6 +8901,14 @@ ZwOpenKey(
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
NtOpenSection(
/*OUT*/ PHANDLE SectionHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
@ -8802,6 +8917,14 @@ ZwOpenSection(
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
NtOpenSymbolicLinkObject(
/*OUT*/ PHANDLE LinkHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
@ -8810,6 +8933,14 @@ ZwOpenSymbolicLinkObject(
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
NtOpenTimer(
/*OUT*/ PHANDLE TimerHandle,
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
@ -8818,6 +8949,16 @@ ZwOpenTimer(
/*IN*/ ACCESS_MASK DesiredAccess,
/*IN*/ POBJECT_ATTRIBUTES ObjectAttributes);
NTOSAPI
NTSTATUS
DDKAPI
NtQueryInformationFile(
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*OUT*/ PVOID FileInformation,
/*IN*/ ULONG Length,
/*IN*/ FILE_INFORMATION_CLASS FileInformationClass);
NTOSAPI
NTSTATUS
DDKAPI
@ -8828,6 +8969,16 @@ ZwQueryInformationFile(
/*IN*/ ULONG Length,
/*IN*/ FILE_INFORMATION_CLASS FileInformationClass);
NTOSAPI
NTSTATUS
DDKAPI
NtQueryKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ KEY_INFORMATION_CLASS KeyInformationClass,
/*OUT*/ PVOID KeyInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
@ -8838,6 +8989,14 @@ ZwQueryKey(
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
NtQuerySymbolicLinkObject(
/*IN*/ HANDLE LinkHandle,
/*IN OUT*/ PUNICODE_STRING LinkTarget,
/*OUT*/ PULONG ReturnedLength /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
@ -8846,6 +9005,17 @@ ZwQuerySymbolicLinkObject(
/*IN OUT*/ PUNICODE_STRING LinkTarget,
/*OUT*/ PULONG ReturnedLength /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
NtQueryValueKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ PUNICODE_STRING ValueName,
/*IN*/ KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass,
/*OUT*/ PVOID KeyValueInformation,
/*IN*/ ULONG Length,
/*OUT*/ PULONG ResultLength);
NTOSAPI
NTSTATUS
DDKAPI
@ -8899,6 +9069,16 @@ ZwSetEvent(
/*IN*/ HANDLE EventHandle,
/*IN*/ PULONG NumberOfThreadsReleased);
NTOSAPI
NTSTATUS
DDKAPI
NtSetInformationFile(
/*IN*/ HANDLE FileHandle,
/*OUT*/ PIO_STATUS_BLOCK IoStatusBlock,
/*IN*/ PVOID FileInformation,
/*IN*/ ULONG Length,
/*IN*/ FILE_INFORMATION_CLASS FileInformationClass);
NTOSAPI
NTSTATUS
DDKAPI
@ -8909,6 +9089,15 @@ ZwSetInformationFile(
/*IN*/ ULONG Length,
/*IN*/ FILE_INFORMATION_CLASS FileInformationClass);
NTOSAPI
NTSTATUS
DDKAPI
NtSetInformationThread(
/*IN*/ HANDLE ThreadHandle,
/*IN*/ THREADINFOCLASS ThreadInformationClass,
/*IN*/ PVOID ThreadInformation,
/*IN*/ ULONG ThreadInformationLength);
NTOSAPI
NTSTATUS
DDKAPI
@ -8918,6 +9107,18 @@ ZwSetInformationThread(
/*IN*/ PVOID ThreadInformation,
/*IN*/ ULONG ThreadInformationLength);
NTOSAPI
NTSTATUS
DDKAPI
NtSetTimer(
/*IN*/ HANDLE TimerHandle,
/*IN*/ PLARGE_INTEGER DueTime,
/*IN*/ PTIMER_APC_ROUTINE TimerApcRoutine /*OPTIONAL*/,
/*IN*/ PVOID TimerContext /*OPTIONAL*/,
/*IN*/ BOOLEAN WakeTimer,
/*IN*/ LONG Period /*OPTIONAL*/,
/*OUT*/ PBOOLEAN PreviousState /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
@ -8930,6 +9131,17 @@ ZwSetTimer(
/*IN*/ LONG Period /*OPTIONAL*/,
/*OUT*/ PBOOLEAN PreviousState /*OPTIONAL*/);
NTOSAPI
NTSTATUS
DDKAPI
NtSetValueKey(
/*IN*/ HANDLE KeyHandle,
/*IN*/ PUNICODE_STRING ValueName,
/*IN*/ ULONG TitleIndex /*OPTIONAL*/,
/*IN*/ ULONG Type,
/*IN*/ PVOID Data,
/*IN*/ ULONG DataSize);
NTOSAPI
NTSTATUS
DDKAPI

View File

@ -170,6 +170,7 @@ NtOpenSymbolicLinkObject@12
NtOpenThread@16
NtOpenThreadToken@16
NtOpenTimer@12
NtPlugPlayControl@12
NtPowerInformation@20
NtPrivilegeCheck@12
NtPrivilegedServiceAuditAlarm@20
@ -191,6 +192,7 @@ NtQueryInformationPort@20
NtQueryInformationProcess@20
NtQueryInformationThread@20
NtQueryInformationToken@20
NtQueryInstallUILanguage@4
NtQueryIntervalProfile@8
NtQueryIoCompletion@20
NtQueryKey@20
@ -792,6 +794,7 @@ ZwOpenSymbolicLinkObject@12
ZwOpenThread@16
ZwOpenThreadToken@16
ZwOpenTimer@12
ZwPlugPlayControl@12
ZwPowerInformation@20
ZwPrivilegeCheck@12
ZwPrivilegedServiceAuditAlarm@20
@ -813,6 +816,7 @@ ZwQueryInformationPort@20
ZwQueryInformationProcess@20
ZwQueryInformationThread@20
ZwQueryInformationToken@20
ZwQueryInstallUILanguage@4
ZwQueryIntervalProfile@8
ZwQueryIoCompletion@20
ZwQueryKey@20