fmtmsgh.inc 986 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Const
  2. MM_HARD = $001;
  3. MM_SOFT = $002;
  4. MM_FIRM = $004;
  5. MM_APPL = $008;
  6. MM_UTIL = $010;
  7. MM_OPSYS = $020;
  8. MM_RECOVER = $040;
  9. MM_NRECOV = $080;
  10. MM_PRINT = $100;
  11. MM_CONSOLE = $200;
  12. MM_NOSEV = 0;
  13. MM_HALT = 1;
  14. MM_ERROR = 2;
  15. MM_WARNING = 3;
  16. MM_INFO = 4;
  17. MM_NULLLBL = PChar(nil);
  18. MM_NULLSEV = 0;
  19. MM_NULLMC = Longint(0);
  20. MM_NULLTXT = PChar(0);
  21. MM_NULLACT = PChar(0);
  22. MM_NULLTAG = PChar(0);
  23. MM_NOTOK = -(1);
  24. MM_OK = 0;
  25. MM_NOMSG = 1;
  26. MM_NOCON = 4;
  27. function fmtmsg(__classification:longint; __label:Pchar; __severity:longint; __text:Pchar; __action:Pchar; __tag:Pchar):longint;cdecl;external clib name 'fmtmsg';
  28. function addseverity(__severity:longint; __string:Pchar):longint;cdecl;external clib name 'addseverity';
  29. { ---------------------------------------------------------------------
  30. Borland compatibility types
  31. ---------------------------------------------------------------------}
  32. // Type