Platform SDK: Registry

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_PTR  ve_valueptr;
  DWORD      ve_type;
}VALENT, *PVALENT;

Members

ve_valuename
Pointer to a null-terminated string. Before calling RegQueryMultipleValues, set this member to point to the name of a value to retrieve.
ve_valuelen
Specifies the size, in bytes, of the data pointed to by ve_valueptr.
ve_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.
ve_type
Specifies a code indicating the type of data pointed to by ve_valueptr. For a list of the possible type codes, see Registry Value Types.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winreg.h; include Windows.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Registry Overview, Registry Structures, RegQueryMultipleValues