#ifndef _NTREGAPI_H
#if (PHNT_VERSION >= PHNT_20H1)
// rev by tyranid
/**
* Loads a registry key from a file with extended parameters.
*
* @param[in] TargetKey A pointer to an OBJECT_ATTRIBUTES structure that specifies the target key.
* @param[in] SourceFile A pointer to an OBJECT_ATTRIBUTES structure that specifies the source file.
* @param[in] Flags The options to use when loading the key.
* @param[in] ExtendedParameters A pointer to an array of extended parameters.
* @param[in] ExtendedParameterCount The number of extended parameters.
* @param[in, optional] DesiredAccess The access mask that specifies the desired access rights.
* @param[out, optional] RootHandle A pointer to a handle that receives the root handle.
* @param[in, reserved] Reserved Reserved.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtLoadKey3(
_In_ POBJECT_ATTRIBUTES TargetKey,
_In_ POBJECT_ATTRIBUTES SourceFile,
_In_ ULONG Flags,
_In_reads_(ExtendedParameterCount) PCM_EXTENDED_PARAMETER ExtendedParameters,
_In_ ULONG ExtendedParameterCount,
_In_opt_ ACCESS_MASK DesiredAccess,
_Out_opt_ PHANDLE RootHandle,
_Reserved_ PVOID Reserved
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwLoadKey3(
_In_ POBJECT_ATTRIBUTES TargetKey,
_In_ POBJECT_ATTRIBUTES SourceFile,
_In_ ULONG Flags,
_In_reads_(ExtendedParameterCount) PCM_EXTENDED_PARAMETER ExtendedParameters,
_In_ ULONG ExtendedParameterCount,
_In_opt_ ACCESS_MASK DesiredAccess,
_Out_opt_ PHANDLE RootHandle,
_Reserved_ PVOID Reserved
);
View code on GitHub
No description available.