Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

4 years ago
  1. /***************************************************************************\
  2. *
  3. * RC.H
  4. *
  5. * Copyright (C) Microsoft Corporation 1989.
  6. * All Rights reserved.
  7. *
  8. *****************************************************************************
  9. *
  10. * Program Description: standard return codes
  11. *
  12. *****************************************************************************
  13. *
  14. * Revision History: Created 02/13/89 by JohnSc
  15. * '92 MattSmi expanding the list of RC codes used by WMVC.EXE
  16. *
  17. *
  18. *****************************************************************************
  19. *
  20. * Known Bugs: It's not clear that this will be a useful concept.
  21. Some of the error codes may be redundant.
  22. It may be desirable to have all these errors be negative
  23. *
  24. \***************************************************************************/
  25. typedef WORD RC;
  26. typedef RC FAR *QRC;
  27. typedef RC (*PFRC)();
  28. #define rcSuccess 0
  29. #define rcFailure 1
  30. #define rcExists 2
  31. #define rcNoExists 3
  32. #define rcInvalid 4
  33. #define rcBadHandle 5
  34. #define rcBadArg 6
  35. #define rcUnimplemented 7
  36. #define rcOutOfMemory 8
  37. #define rcNoPermission 9
  38. #define rcBadVersion 10
  39. #define rcDiskFull 11
  40. #define rcInternal 12
  41. #define rcNoFileHandles 13
  42. #define rcFileChange 14
  43. #define rcTooBig 15
  44. #define rcUserQuit 16
  45. #define rcXAParaTooBig 17
  46. #define rcTermination 18
  47. #define rcNoSTBWrite 19
  48. /* EOF */