#ifndef _NTTMAPI_H
/**
* The NtSetInformationResourceManager routine sets information for a resource manager object.
*
* \param ResourceManagerHandle Handle to the resource manager object.
* \param ResourceManagerInformationClass The type of resource manager information to set.
* \param ResourceManagerInformation Pointer to the input buffer containing the information to set.
* \param ResourceManagerInformationLength The size of the input buffer, in bytes.
* \return NTSTATUS Successful or errant status.
*/
_Kernel_entry_
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
_Kernel_entry_
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 NtXxx and ZwXxx 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 NtXxx and ZwXxx 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 NtXxx and ZwXxx 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 NtXxx and ZwXxx 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