IOCTL_SYSENV_QUERY_VARIABLE_INFO - NtDoc

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

// CTL_CODE(0x0052, 0x004, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_SYSENV_QUERY_VARIABLE_INFO 0x00520010
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddsysenv-ioctl_sysenv_query_variable_info)

IOCTL_SYSENV_QUERY_VARIABLE_INFO IOCTL

Description

Returns information about system environment variables using SysEnv device.

Parameters

Major code

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.

Input/output buffer

Input/output 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