Export (0) Print
Expand All
IRP
MDL
Expand Minimize

REG_FLUSH_KEY_INFORMATION structure

The REG_FLUSH_KEY_INFORMATION structure contains information that a driver's RegistryCallback routine can use when a registry key is flushed (that is, written to disk).

Syntax


typedef struct _REG_DELETE_KEY_INFORMATION {
  PVOID Object;
  PVOID CallContext;
  PVOID ObjectContext;
  PVOID Reserved;
} REG_FLUSH_KEY_INFORMATION, *PREG_FLUSH_KEY_INFORMATION;

Members

Object

A pointer to the registry key object for the key to be flushed.

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 that 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 the REG_FLUSH_KEY_INFORMATION structure to the RegistryCallback routine every time a thread attempts to flush a key—for example, when a user-mode thread calls RegFlushKey or when a driver calls ZwFlushKey.

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

Requirements

Version

Available for Windows Vista and later versions of the Windows operating system.

Header

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

See also

CmSetCallbackObjectContext
RegistryCallback
ZwFlushKey

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft