RtlpValidateKeyTrust
NTSTATUS __stdcall RtlpValidateKeyTrust(
VOID *Key,
UINT64 Flags,
INT64 a3,
INT64 a4,
INT64 a5,
INT64 a6,
INT64 a7,
INT64 a8){
NTSTATUS result;
int KeyInformation;
UINT64 ResultLength;
KeyInformation = 0;
LODWORD(ResultLength) = 0;
if( (Flags & 0x100) != 0 )
return 0;
result = ZwQueryKey(Key, KeyTrustInformation, &KeyInformation, 4ui64, &ResultLength);
if( result >= 0 )
{
if( (KeyInformation & 1) != 0 )
return 0;
result = -1073741790;
}
if( result != -1073741431 )
__fastfail(9u);
return result;
}Referenced by:
RtlpCallQueryRegistryRoutine