HalMatchAcpiOemId
NTSTATUS __fastcall HalMatchAcpiOemId(
_DOUBLE InputEntries,
_DOUBLE InputStrings,
VOID *Context,
UINT64 NumberOfNumerics,
VOID *Contexta,
UINT64 NumberOfNumericsa,
VOID *a7){
NTSTATUS v8;
_LARGE_INTEGER *Table;
_STRING DestinationString;
_STRING String1;
char SourceString[4];
__int16 QuadPart_high;
char v15;
v8 = 1;
DestinationString = 0i64;
String1 = 0i64;
if( (_DWORD)NumberOfNumerics == 2 )
{
if( *(_QWORD *)Context )
{
if( *((_QWORD *)Context + 1) )
{
Table = HalpAcpiGetTable(0i64, (const UINT8 *)**(unsigned int **)Context, 0i64);
if( Table )
{
v15 = 0;
*(_DWORD *)SourceString = *(ULONG *)((char *)&Table[1].u.LowPart + 2);
QuadPart_high = HIWORD(Table[1].QuadPart);
RtlInitAnsiString(&DestinationString, SourceString);
RtlInitAnsiString(&String1, *((PCSZ *)Context + 1));
return RtlEqualString(&String1, &DestinationString, 1u) != 0 ? 2 : 0;
}
}
}
}
return v8;
}Referenced by:
No references.