BgConsoleDestroyInterface
VOID __stdcall BgConsoleDestroyInterface(PVOID ConsoleInterface){
__int64 v2;
BgpFwAcquireLock((INT64)ConsoleInterface);
if( ConsoleInterface == BgpConsoleInterface )
{
v2 = qword_140CDAE98;
if( qword_140CDAE98 )
{
if( *(_QWORD *)(qword_140CDAE98 + 40) )
{
BgpDisplayCharacterDestroyContext(*(_QWORD *)(qword_140CDAE98 + 40));
v2 = qword_140CDAE98;
}
BgpFwFreeMemory(v2);
qword_140CDAE98 = 0i64;
}
}
BgpFwReleaseLock();
}Referenced by:
BcpDisplayEarlyBugCheckScreen
BgkDestroy
BgkNotifyDisplayOwnershipChange