Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IRegistryKey
interface provides an abstraction of a registry key that a miniport driver can use to access the key and its subkeys. The PortCls system driver implements this interface and exposes it to miniport drivers. A miniport driver obtains a reference to an IRegistryKey
object by calling PcNewRegistryKey or IPort::NewRegistryKey.
For more information, see Registry Key Objects.
Inheritance
The IRegistryKey interface inherits from the IUnknown interface. IRegistryKey also has these types of members:
Methods
The IRegistryKey interface has these methods.
IRegistryKey::DeleteKey The DeleteKey method deletes the registry key. |
IRegistryKey::EnumerateKey The EnumerateKey method returns information about the subkeys of the open key. |
IRegistryKey::EnumerateValueKey The EnumerateValueKey method returns information about a registry entry that contains a value key. |
IRegistryKey::NewSubKey The NewSubKey method either creates a new registry subkey or opens an existing subkey under the key represented by the IRegistryKey object. |
IRegistryKey::QueryKey The QueryKey method retrieves information about a registry key, including the key name, key class, and the number of subkeys and their sizes. |
IRegistryKey::QueryRegistryValues The QueryRegistryValues method allows the caller to query several values from the registry with a single call. |
IRegistryKey::QueryValueKey The QueryValueKey method retrieves information about a registry key's value entries, including their names, types, data sizes, and values. |
IRegistryKey::SetValueKey The SetValueKey method replaces or creates a value entry under the open key. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portcls.h |