ExpWnfValidatePubSubPreconditions

VOID __stdcall ExpWnfValidatePubSubPreconditions(
        UNICODE_STRING *ServiceName,
        SECURITY_SUBJECT_CONTEXT *SubjectSecurityContext,
        PRIVILEGE_SET *Privileges,
        UINT8 AccessGranted){
  int v4; 
  if( !v4 )
    ExpWnfCheckCallerAccess(SubjectSecurityContext->PrimaryToken, (unsigned int)ServiceName);
}

Referenced by:

ExpNtUpdateWnfStateData
NtQueryWnfStateData