IopQueryEnvironmentVariableInfoSysEnv
NTSTATUS __stdcall IopQueryEnvironmentVariableInfoSysEnv(
_FILE_OBJECT *FileObject,
_DEVICE_OBJECT *DeviceObject,
UINT64 Attributes,
UINT64 *MaximumVariableStorageSize,
UINT64 *RemainingVariableStorageSize,
UINT64 *MaximumVariableSize){
_DEVICE_OBJECT *v7;
int v8;
INT64 v10;
int v11;
__int128 v12;
UINT64 v13;
v11 = Attributes;
v7 = DeviceObject;
v12 = 0i64;
v13 = 0i64;
LOBYTE(DeviceObject) = 1;
LODWORD(v10) = 4;
v8 = IopIssueSystemEnvironmentRequest(0x520010u, DeviceObject, (ULONG)FileObject, v7, (ULONG)&v11, v10);
if( v8 >= 0 )
{
if( MaximumVariableStorageSize )
*MaximumVariableStorageSize = v12;
if( RemainingVariableStorageSize )
*RemainingVariableStorageSize = *((_QWORD *)&v12 + 1);
if( MaximumVariableSize )
*MaximumVariableSize = v13;
}
return v8;
}Referenced by:
No references.