VALENTA structure (winreg.h)
Contains information about a registry value. The RegQueryMultipleValues function uses this structure.
Syntax
typedef struct value_entA {
LPSTR ve_valuename;
DWORD ve_valuelen;
DWORD_PTR ve_valueptr;
DWORD ve_type;
} VALENTA, *PVALENTA;
Members
ve_valuename
The name of the value to be retrieved. Be sure to set this member before calling RegQueryMultipleValues.
ve_valuelen
The size of the data pointed to by ve_valueptr, in bytes.
ve_valueptr
A 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.
ve_type
The type of data pointed to by ve_valueptr. For a list of the possible types, see Registry Value Types.
Remarks
Note
The winreg.h header defines VALENT as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winreg.h (include Windows.h) |