ZwCreateWnfStateName

NTSTATUS __stdcall ZwCreateWnfStateName(
        _WNF_STATE_NAME *StateName,
        _WNF_STATE_NAME_LIFETIME NameLifetime,
        _WNF_DATA_SCOPE DataScope,
        UINT8 PersistData,
        _WNF_TYPE_ID *TypeId,
        UINT64 MaximumStateSize,
        VOID *SecurityDescriptor){
  NTSTATUS result; 

  _disable();
  __readeflags();
  KiServiceInternal();
  return result;
}

Referenced by:

PiUEventInitClientRegistrationContext
PopCreateNotificationName
PspAllocateAndQueryNotificationChannel
PspAllocateAndQueryProcessNotificationChannel