REG_REPLACE_KEY_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

typedef struct _REG_REPLACE_KEY_INFORMATION {
  PVOID           Object;
  PUNICODE_STRING OldFileName;
  PUNICODE_STRING NewFileName;
  PVOID           CallContext;
  PVOID           ObjectContext;
  PVOID           Reserved;
} REG_REPLACE_KEY_INFORMATION, *PREG_REPLACE_KEY_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_reg_replace_key_information)

_REG_REPLACE_KEY_INFORMATION structure

Description

The REG_REPLACE_KEY_INFORMATION structure describes the metadata that is about to be replaced for a key.

Members

Object

A pointer to a registry key object for the key whose metadata is about to be replaced.

OldFileName

The name of the file that receives a backup copy of the registry information being replaced.

NewFileName

The name of the file with the registry information. This file is typically created by using the RegSaveKey function.

CallContext

Optional driver-defined context information that the driver's RegistryCallback routine can supply. This member is defined for Windows Vista and later versions of the Windows operating system.

ObjectContext

A pointer to driver-defined context information, which the driver has associated with a registry object by calling CmSetCallbackObjectContext. This member is defined for Windows Vista and later versions of the Windows operating system.

Reserved

This member is reserved for future use. This member is defined for Windows Vista and later versions of the Windows operating system.

Remarks

The system passes this structure to the RegistryCallback routine every time a thread attempts to replace the metadata for a key.

For more information about registry filtering operations, see Filtering Registry Calls.

See also

CmSetCallbackObjectContext

RegistryCallback