KiEnclsStatus
NTSTATUS __stdcall KiEnclsStatus(UINT64 ErrorCode){
int v1;
int v2;
int v3;
int v4;
int v5;
if( !(_DWORD)ErrorCode )
return 0;
v1 = ErrorCode - 7;
if( !v1 )
return -1073741757;
v2 = v1 - 5;
if( !v2 )
return 304;
v3 = v2 - 1;
if( !v3 )
return -1073741757;
v4 = v3 - 1;
if( !v4 )
return -1073741757;
v5 = v4 - 3;
if( !v5 )
return -1073741757;
if( v5 == 3 )
return -1073741800;
return -1073741823;
}Referenced by:
KeBlockEnclavePage
KeCanChangeEnclavePageProtection
KeChangeEnclavePageProtection
KeOutPageEnclavePage
KeRemoveEnclavePage
KeTrackEnclaveTbFlush