MiPromoteControlAreaToStrongCode
INT64 __fastcall MiPromoteControlAreaToStrongCode(_CONTROL_AREA *ControlArea, _FILE_OBJECT *File, INT64 a3, _QWORD *a4){
INT64 result;
INT64 v7;
result = MiValidateSectionCreate(
(ULONG_PTR)File,
(__int64)ControlArea,
-1,
0i64,
(unsigned int)a3 | 0x40000000,
12,
1);
if( (int)result >= 0 )
{
v7 = *((_QWORD *)ControlArea + 12);
result = MiGetSectionStrongImageReference(v7);
if( (int)result >= 0 )
{
*a4 = *(_QWORD *)(v7 + 56);
return 0i64;
}
}
return result;
}Referenced by:
MiLoadHotPatch