RtlpFcCompareUsageSubscriptionToUsageSubscription
NTSTATUS __stdcall RtlpFcCompareUsageSubscriptionToUsageSubscription(INT64 a1, INT64 a2){
unsigned __int16 v2;
unsigned int v3;
unsigned int v4;
if( *(_DWORD *)a1 > *(_DWORD *)a2 )
return 1;
if( *(_DWORD *)a1 < *(_DWORD *)a2 )
return -1;
v2 = *(_WORD *)(a1 + 4);
if( v2 > *(_WORD *)(a2 + 4) )
return 1;
if( v2 < *(_WORD *)(a2 + 4) )
return -1;
v3 = *(_DWORD *)(a1 + 8);
if( v3 > *(_DWORD *)(a2 + 8) )
return 1;
if( v3 < *(_DWORD *)(a2 + 8) )
return -1;
v4 = *(_DWORD *)(a1 + 12);
if( v4 <= *(_DWORD *)(a2 + 12) )
{
if( v4 >= *(_DWORD *)(a2 + 12) )
return 0;
return -1;
}
return 1;
}Referenced by:
RtlpFcCalculateRequiredSizeForNewUsageSubscriptionTable
RtlpFcUpdateUsageTriggers
RtlpFcValidateFeatureUsageSubscriptionBuffer