Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
winreg.h
Unicode
WinNT
Platform Notes
None

VALENT

The VALENT structure contains information about a registry value. The RegQueryMultipleValues function uses this structure.

typedef struct value_ent {

LPTSTR ve_valuename;

DWORD ve_valuelen;

DWORD ve_valueptr;

DWORD ve_type;

}VALENT;

Members

  • e_valuename

Pointer to a null-terminated string. Before calling RegQueryMultipleValues, set this member to point to the name of a value to retrieve.

  • e_valuelen

Specifies the size, in bytes, of the data pointed to by ve_valueptr.

  • e_valueptr

Pointer to the data for the value entry. This is a pointer to the value's data returned in the lpValueBuf buffer filled in by RegQueryMultipleValues.

  • e_type

Specifies the type code for the value entry. The type code can be one of the following values:

Value
Meaning
REG_BINARY
Binary data in any form.
REG_DWORD
A 32-bit number.
REG_DWORD_LITTLE_ENDIAN
A 32-bit number in little-endian format (same as REG_DWORD). In little-endian format, the most significant byte of a word is the high-order byte. This is the most common format for computers running Windows NT and Windows 95.
REG_DWORD_BIG_ENDIAN
A 32-bit number in big-endian format. In big-endian format, the most significant byte of a word is the low-order byte.
REG_EXPAND_SZ
A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string depending on whether you use the Unicode or ANSI functions.
REG_LINK
A Unicode symbolic link.
REG_MULTI_SZ
An array of null-terminated strings, terminated by two null characters.
REG_NONE
No defined value type.
REG_RESOURCE_LIST
A device-driver resource list.
REG_SZ
A null-terminated string. It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions.

See Also

RegQueryMultipleValues

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database