Export (0) Print
Expand All
IRP
MDL
Expand Minimize

REG_SAVE_KEY_INFORMATION structure

The REG_SAVE_KEY_INFORMATION structure contains the information for a registry key that is about to be saved.

Syntax


typedef struct _REG_SAVE_KEY_INFORMATION {
  PVOID  Object;
  HANDLE FileHandle;
  ULONG  Format;
  PVOID  CallContext;
  PVOID  ObjectContext;
  PVOID  Reserved;
} REG_SAVE_KEY_INFORMATION, *PREG_SAVE_KEY_INFORMATION;

Members

Object

A pointer to a registry key object for the key whose information is about to be saved.

FileHandle

A handle to the file to which the hive information will be saved.

Format

The format in which the key or hive is saved. This member can have one of the following values.

ValueMeaning
REG_STANDARD_FORMATSave in standard format. The standard format is the only format supported by Windows 2000.
REG_LATEST_FORMATSave in the latest format. The latest format is supported starting with Windows XP. After the key is saved in this format, it cannot be loaded on an earlier version of Windows.
REG_NO_COMPRESSIONSave with no compression, for faster save operations. The registry key object must represent the root of a hive.

 

CallContext

Optional driver-defined context information that the driver's RegistryCallback routine can supply. This member is defined starting with Windows Vista.

ObjectContext

A pointer to driver-defined context information, which the driver has associated with a registry object by calling CmSetCallbackObjectContext. This member is defined starting with Windows Vista.

Reserved

This member is reserved for future use. This member is defined starting with Windows Vista.

Remarks

Note that when a key is saved, only the last component of the path can be changed.

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

Requirements

Version

Available starting with Windows Vista SP2.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

CmSetCallbackObjectContext
RegistryCallback

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft