#ifndef _NTTMAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetInformationResourceManager(
_In_ HANDLE ResourceManagerHandle,
_In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
_In_reads_bytes_(ResourceManagerInformationLength) PVOID ResourceManagerInformation,
_In_ ULONG ResourceManagerInformationLength
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetInformationResourceManager(
_In_ HANDLE ResourceManagerHandle,
_In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
_In_reads_bytes_(ResourceManagerInformationLength) PVOID ResourceManagerInformation,
_In_ ULONG ResourceManagerInformationLength
);
View code on GitHub// wdm.h
__kernel_entry NTSYSCALLAPI NTSTATUS NtSetInformationResourceManager(
HANDLE ResourceManagerHandle,
RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
PVOID ResourceManagerInformation,
ULONG ResourceManagerInformationLength
);
View the official Windows Driver Kit DDI reference// wdm.h
NTSYSCALLAPI NTSTATUS ZwSetInformationResourceManager(
HANDLE ResourceManagerHandle,
RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass,
PVOID ResourceManagerInformation,
ULONG ResourceManagerInformationLength
);
View the official Windows Driver Kit DDI referenceThe ZwSetInformationResourceManager routine is not used.
ResourceManagerHandleNot used.
ResourceManagerInformationClassNot used.
ResourceManagerInformationNot used.
ResourceManagerInformationLengthNot used.
This function does not return a value.
NtSetInformationResourceManager and ZwSetInformationResourceManager are two versions of the same Windows Native System Services routine.
For calls from kernel-mode drivers, the Nt*Xxx* and Zw*Xxx* versions of a Windows Native System Services routine can behave differently in the way that they handle and interpret input parameters. For more information about the relationship between the Nt*Xxx* and Zw*Xxx* versions of a routine, see Using Nt and Zw Versions of the Native System Services Routines.
Using Nt and Zw Versions of the Native System Services Routines
The ZwSetInformationResourceManager routine is not used.
ResourceManagerHandleResourceManagerInformationClassResourceManagerInformationResourceManagerInformationLengthThis function does not return a value.
NtSetInformationResourceManager and ZwSetInformationResourceManager are two versions of the same Windows Native System Services routine.
For calls from kernel-mode drivers, the Nt*Xxx* and Zw*Xxx* versions of a Windows Native System Services routine can behave differently in the way that they handle and interpret input parameters. For more information about the relationship between the Nt*Xxx* and Zw*Xxx* versions of a routine, see Using Nt and Zw Versions of the Native System Services Routines.
Using Nt and Zw Versions of the Native System Services Routines