Bewerken

Delen via


IOCTL_SYSENV_QUERY_VARIABLE_INFO IOCTL (ntddsysenv.h)

Returns information about system environment variables using SysEnv device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A pointer to a ULONG variable that contains the attributes of the system environment variable.

Input buffer length

Size of ULONG.

Output buffer

A pointer to a SYSENV_VARIABLE_INFO structure that contains variable information.

Output buffer length

The size of the SYSENV_VARIABLE_INFO 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

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously