Skip to content

Latest commit

 

History

History
224 lines (169 loc) · 4.94 KB

ns-wdm-_key_value_basic_information.md

File metadata and controls

224 lines (169 loc) · 4.94 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:wdm._KEY_VALUE_BASIC_INFORMATION
_KEY_VALUE_BASIC_INFORMATION (wdm.h)
The KEY_VALUE_BASIC_INFORMATION structure defines a subset of the full information available for a value entry of a registry key.
kernel\key_value_basic_information.htm
kernel
04/30/2018
KEY_VALUE_BASIC_INFORMATION structure
*PKEY_VALUE_BASIC_INFORMATION, KEY_VALUE_BASIC_INFORMATION, KEY_VALUE_BASIC_INFORMATION structure [Kernel-Mode Driver Architecture], PKEY_VALUE_BASIC_INFORMATION, PKEY_VALUE_BASIC_INFORMATION structure pointer [Kernel-Mode Driver Architecture], _KEY_VALUE_BASIC_INFORMATION, kernel.key_value_basic_information, kstruct_c_ba44285c-18a4-4a35-a31b-c2a6573d7023.xml, wdm/KEY_VALUE_BASIC_INFORMATION, wdm/PKEY_VALUE_BASIC_INFORMATION
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Windows
Windows
KEY_VALUE_BASIC_INFORMATION, *PKEY_VALUE_BASIC_INFORMATION
_KEY_VALUE_BASIC_INFORMATION
wdm/_KEY_VALUE_BASIC_INFORMATION
PKEY_VALUE_BASIC_INFORMATION
wdm/PKEY_VALUE_BASIC_INFORMATION
KEY_VALUE_BASIC_INFORMATION
wdm/KEY_VALUE_BASIC_INFORMATION
APIRef
kbSyntax
HeaderDef
Wdm.h
_KEY_VALUE_BASIC_INFORMATION
PKEY_VALUE_BASIC_INFORMATION
KEY_VALUE_BASIC_INFORMATION

_KEY_VALUE_BASIC_INFORMATION structure

-description

The KEY_VALUE_BASIC_INFORMATION structure defines a subset of the full information available for a value entry of a registry key.

-struct-fields

-field TitleIndex

Device and intermediate drivers should ignore this member.

-field Type

Specifies the system-defined type for the value entry in the registry key, which is one of the following:

REG_XXX type Value
REG_BINARY Binary data in any form
REG_DWORD A 4-byte numerical value
REG_DWORD_LITTLE_ENDIAN A 4-byte numerical value whose least significant byte is at the lowest address
REG_DWORD_BIG_ENDIAN A 4-byte numerical value whose least significant byte is at the highest address
REG_EXPAND_SZ A null-terminated Unicode string, containing unexpanded references to environment variables, such as "%PATH%"
REG_LINK A Unicode string naming a symbolic link. This type is irrelevant to device and intermediate drivers
REG_MULTI_SZ An array of null-terminated strings, terminated by another zero
REG_NONE Data with no particular type
REG_SZ A null-terminated Unicode string
REG_RESOURCE_LIST A device driver's list of hardware resources, used by the driver or one of the physical devices it controls, in the \ResourceMap tree
REG_RESOURCE_REQUIREMENTS_LIST A device driver's list of possible hardware resources it or one of the physical devices it controls can use, from which the system writes a subset into the \ResourceMap tree
REG_FULL_RESOURCE_DESCRIPTOR A list of hardware resources that a physical device is using, detected and written into the \HardwareDescription tree by the system

-field NameLength

Specifies the size in bytes of the following value entry name.

-field Name

A string of Unicode characters naming a value entry of the key.

-remarks

A kernel-mode driver can obtain a KEY_VALUE_BASIC_INFORMATION that describes a registry key by calling the ZwQueryValueKey or ZwEnumerateValueKey routine.

-see-also

KEY_VALUE_FULL_INFORMATION

KEY_VALUE_INFORMATION_CLASS

KEY_VALUE_PARTIAL_INFORMATION

ZwEnumerateValueKey

ZwQueryValueKey