summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/palmunits/src/fatalalert.pp
blob: 8d3459887a305723a852cf61e44c4437ae98aeda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{$MACRO ON}

(******************************************************************************
 *
 * Copyright (c) 1994-2000 Palm, Inc. or its subsidiaries.
 * All rights reserved.
 *
 * File: FatalAlert.h
 *
 * Release: Palm OS SDK 4.0 (63220)
 *
 * Description:
 *        This file defines the system Fatal Alert support.
 *
 * History:
 *    September 12, 1994   Created by Art Lamb
 *
 *****************************************************************************)

unit fatalalert;

interface

uses palmos, coretraps;

// Value returned by SysFatalAlert
const
  fatalReset = 0;
  fatalEnterDebugger = 1;
  fatalDoNothing = $FFFF;

function SysFatalAlert(const msg: PChar): UInt16; syscall sysTrapSysFatalAlert;

procedure SysFatalAlertInit; syscall sysTrapSysFatalAlertInit;

implementation

end.