0 out of 1 rated this helpful - Rate this topic

KEY_NAME_INFORMATION structure

The KEY_NAME_INFORMATION structure holds the name and name length of the key.

Syntax

typedef struct _KEY_NAME_INFORMATION {
  ULONG NameLength;
  WCHAR Name[1];
} KEY_NAME_INFORMATION, *PKEY_NAME_INFORMATION;

Members

NameLength

The length, in bytes, of the key name.

Name

The name of the key.

Remarks

The ZwEnumerateKey and ZwQueryKey routines use the KEY_NAME_INFORMATION structure to hold the registry key name. When the KeyInformationClass parameter of either routine is KeyNameInformation, the KeyInformation buffer is treated as a KEY_NAME_INFORMATION structure.

Requirements

Version

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

Header

Ntddk.h (include Ntddk.h)

See also

KEY_BASIC_INFORMATION
KEY_CACHED_INFORMATION
KEY_INFORMATION_CLASS
KEY_NODE_INFORMATION
KEY_VIRTUALIZATION_INFORMATION
ZwEnumerateKey
ZwQueryKey

 

 

Send comments about this topic to Microsoft

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)