ntddsysenv.h header

This is the include file that defines all constants and types for accessing the system variable device interface.

ntddsysenv.h contains the following programming interfaces:

IOCTLs

 
IOCTL_SYSENV_ENUM_VARIABLES

Returns information about system environment variables using SysEnv device.
IOCTL_SYSENV_GET_VARIABLE

Gets the value of the specified system environment variables using SysEnv device.
IOCTL_SYSENV_QUERY_VARIABLE_INFO

IOCTL_SYSENV_QUERY_VARIABLE_INFO returns information about system environment variables using SysEnv device.
IOCTL_SYSENV_SET_VARIABLE

Sets the value of the specified system environment variables using SysEnv device.

Structures

 
SYSENV_VALUE

Stores the value of a system environment variable using SysEnv device. This structure is used in the IOCTL_SYSENV_GET_VARIABLE request.
SYSENV_VARIABLE

Stores the name a system environment variable using SysEnv device. This structure is used in the IOCTL_SYSENV_GET_VARIABLE request.
SYSENV_VARIABLE_INFO

Stores the information about a system environment variable using SysEnv device. This structure is used in the IOCTL_SYSENV_QUERY_VARIABLE_INFO request.
XVARIABLE_NAME

Stores the name of a system environment variable using SysEnv device. This structure is used in the IOCTL_SYSENV_ENUM_VARIABLES request.
XVARIABLE_NAME_AND_VALUE

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.