IopQueryEnvironmentVariableInfoSysEnv
INT64 __stdcall IopQueryEnvironmentVariableInfoSysEnv(
FILE_OBJECT *FileObject,
DEVICE_OBJECT *DeviceObject,
UINT64 Attributes,
UINT64 *MaximumVariableStorageSize,
UINT64 *RemainingVariableStorageSize,
UINT64 *MaximumVariableSize){
int v7;
UINT64 InputBufferLength;
UINT64 v10;
int v11;
__int128 v12;
UINT64 v13;
v11 = Attributes;
LODWORD(v10) = 24;
v12 = 0i64;
v13 = 0i64;
LODWORD(InputBufferLength) = 4;
v7 = IopIssueSystemEnvironmentRequest(
0x520010ui64,
1u,
FileObject,
DeviceObject,
&v11,
InputBufferLength,
&v12,
v10,
0i64);
if( v7 >= 0 )
{
if( MaximumVariableStorageSize )
*MaximumVariableStorageSize = v12;
if( RemainingVariableStorageSize )
*RemainingVariableStorageSize = *((_QWORD *)&v12 + 1);
if( MaximumVariableSize )
*MaximumVariableSize = v13;
}
return(unsigned int)v7;
}Referenced by:
No references.