IOCTL_SYSENV_SET_VARIABLE IOCTL (ntddsysenv.h)
Sets the value of the specified system environment variables using SysEnv device.
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.
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.
Requirements
Requirement | Value |
---|---|
Header | ntddsysenv.h |
See also
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously