Previous Next

Registry

IoGetDeviceProperty
Retrieves device setup information from the registry. Use this routine, rather than accessing the registry directly, to insulate a driver from differences across platforms and from possible changes in the registry structure.
IoOpenDeviceInterfaceRegistryKey
Returns a handle to a registry key for storing information about a particular device interface.
IoOpenDeviceRegistryKey
Returns a handle to a device-specific or a driver-specific registry key for a particular device instance.
IoRegisterDeviceInterface
Registers device functionality (a device interface) that a driver will enable for use by applications or other system components. The I/O Manager creates a registry key for the device interface. Drivers can access persistent storage under this key using IoOpenDeviceInterfaceRegistryKey.
IoSetDeviceInterfaceState
Enables or disables a previously registered device interface. Applications and other system components can open only interfaces that are enabled.
RtlCheckRegistryKey
Returns STATUS_SUCCESS if a key exists in the registry along the given relative path.
RtlCreateRegistryKey
Adds a key object in the registry along the given relative path.
RtlQueryRegistryValues
Gives a driver-supplied callback read-only access to the entries for a specified value name, along a specified relative path, in the registry, after the callback routine is given control.
RtlWriteRegistryValue
Writes caller-supplied data into the registry along the specified relative path at the given value name.
RtlDeleteRegistryValue
Removes the specified value name (and the associated value entries) from the registry along the given relative path.
InitializeObjectAttributes
Sets up a parameter of type OBJECT_ATTRIBUTES for a subsequent call to a ZwCreateXxx or ZwOpenXxx routine.
ZwCreateKey
Creates a new key in the registry with the given object's attributes, allowed access, and creation options (such as whether the key is created again when the system is booted). Alternatively, opens an existing key and returns a handle for the key object.
ZwOpenKey
Returns a handle for a key in the registry given the object's attributes (which must include a name for the key) and the desired access to the object.
ZwQueryKey
Returns information about the class of a key, and the number and sizes of its subkeys. This information includes, for example, the length of subkey names and the size of value entries.
ZwEnumerateKey
Returns the specified information about the subkey, as selected by a zero-based index, of an opened key in the registry.
ZwEnumerateValueKey
Returns the specified information about the value entry of a subkey, as selected by a zero-based index, of an opened key in the registry.
ZwQueryValueKey
Returns the value entry for an opened key in the registry.
ZwSetValueKey
Replaces (or creates) a value entry for an opened key in the registry.
ZwFlushKey
Forces changes made by ZwCreateKey or ZwSetValueKey for the opened key object to be written to disk.
ZwDeleteKey
Removes a key and its value entries from the registry as soon as the key is closed.
ZwClose
Releases the handle for an opened object, causing the handle to become invalid and decrementing the reference count of the object handle.