VOID INLINE RaiseAccessError (ULONG Exception_number, ULONG Exception_flags)
{
  EXCEPTION Record = {
                      .Number = Exception_number,
                      .Flags = Exception_flags
                     };

  DosRaiseException (&Record);
}