PiDevCfgFreeDeviceContext
VOID __stdcall PiDevCfgFreeDeviceContext(_PI_DEVCFG_DEVICE_CONTEXT *DeviceContext){
_UNICODE_STRING *v2;
__int64 v3;
__int64 v4;
if( *DeviceContext < 0 )
{
v4 = *((_QWORD *)DeviceContext + 2);
if( v4 )
ZwClose(v4);
}
v2 = (_UNICODE_STRING *)(DeviceContext + 6);
v3 = 3i64;
do
{
RtlFreeAnsiString(v2++);
--v3;
}
while( v3 );
}Referenced by:
PiDevCfgInitDeviceCallback
PiDevCfgInitDeviceContext
PiDevCfgProcessDevice
PiDevCfgProcessDeviceCallback
PpDevCfgCheckDeviceNeedsUpdate
PpDevCfgProcessDeviceExtensions
PpDevCfgProcessDeviceOperations
PpDevCfgProcessDeviceReset