Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 2.64 KB

ni-ntddsysenv-ioctl_sysenv_set_variable.md

File metadata and controls

89 lines (62 loc) · 2.64 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NI:ntddsysenv.IOCTL_SYSENV_SET_VARIABLE
IOCTL_SYSENV_SET_VARIABLE (ntddsysenv.h)
Sets the value of the specified system environment variables using SysEnv device.
kernel\ioctl_ioctl_sysenv_set_variable.htm
kernel
04/30/2018
IOCTL_SYSENV_SET_VARIABLE IOCTL
IOCTL_SYSENV_SET_VARIABLE, IOCTL_SYSENV_SET_VARIABLE control, IOCTL_SYSENV_SET_VARIABLE control code [Kernel-Mode Driver Architecture], kernel.ioctl_ioctl_sysenv_set_variable, ntddsysenv/IOCTL_SYSENV_SET_VARIABLE
ntddsysenv.h
Windows
Windows
IOCTL_SYSENV_SET_VARIABLE
ntddsysenv/IOCTL_SYSENV_SET_VARIABLE
APIRef
kbSyntax
HeaderDef
Ntddsysenv.h
IOCTL_SYSENV_SET_VARIABLE

IOCTL_SYSENV_SET_VARIABLE IOCTL

-description

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

-ioctlparameters

-ioctl-major-code

-input-buffer

A pointer to a XVARIABLE_NAME_AND_VALUE structure that contains the information to set.

-input-buffer-length

The size of the XVARIABLE_NAME_AND_VALUE structure.

-output-buffer

-output-buffer-length

-in-out-buffer

-inout-buffer-length

-status-block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

-see-also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously