XVARIABLE_NAME_AND_VALUE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddsysenv.h

typedef struct _XVARIABLE_NAME_AND_VALUE {
  ULONG NextEntryOffset;
  ULONG ValueOffset;
  ULONG ValueLength;
  ULONG Attributes;
  GUID  VendorGuid;
  WCHAR Name[ANYSIZE_ARRAY];
} XVARIABLE_NAME_AND_VALUE, *PXVARIABLE_NAME_AND_VALUE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddsysenv-_xvariable_name_and_value)

_XVARIABLE_NAME_AND_VALUE structure

Description

Stores the name and value of a system environment variable using SysEnv device. This structure is used in the IOCTL_SYSENV_ENUM_VARIABLES and IOCTL_SYSENV_SET_VARIABLE requests.

Members

NextEntryOffset

The location of the next entry in the array of XVARIABLE_NAME structures reprieved by the IOCTL_SYSENV_ENUM_VARIABLES request.

ValueOffset

The value of the system environment variable.

ValueLength

The length of the value.

Attributes

Attributes of the system environment variable.

VendorGuid

The vendor GUID.

Name

Name of the system environment variable.

See also

IOCTL_SYSENV_ENUM_VARIABLES

IOCTL_SYSENV_SET_VARIABLE