REG_SET_INFORMATION_KEY_INFORMATION structure (wdm.h)

The REG_SET_INFORMATION_KEY_INFORMATION structure describes a new setting for a key's metadata.

Syntax

typedef struct _REG_SET_INFORMATION_KEY_INFORMATION {
  PVOID                     Object;
  KEY_SET_INFORMATION_CLASS KeySetInformationClass;
  PVOID                     KeySetInformation;
  ULONG                     KeySetInformationLength;
  PVOID                     CallContext;
  PVOID                     ObjectContext;
  PVOID                     Reserved;
} REG_SET_INFORMATION_KEY_INFORMATION, *PREG_SET_INFORMATION_KEY_INFORMATION;

Members

Object

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

KeySetInformationClass

The KEY_SET_INFORMATION_CLASS value that indicates the type of information about to be changed.

KeySetInformation

A pointer to a buffer that contains the information about to be written. The format of the buffer depends on the value of KeySetInformationClass. For more information, see KEY_SET_INFORMATION_CLASS.

KeySetInformationLength

The size, in bytes, of the KeySetInformation buffer.

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

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

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

CmSetCallbackObjectContext

RegistryCallback