Leaked source code of windows server 2003
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.

67 lines
2.4 KiB

  1. //--------------------------------------------------------------------------------
  2. //sudefs.h
  3. //started - Umesh Madan
  4. //(c)Microsoft Corporation 1995
  5. //standard alert ids etc
  6. //--------------------------------------------------------------------------------
  7. #ifndef _SUDEFS_
  8. #define _SUDEFS_
  9. //Return codes.
  10. #define DIALFAILED 0
  11. #define DIALSUCCESS 1
  12. #define DIALCANCEL 2
  13. #define SIGNUPTHROTTLED 3
  14. #define SIGNUPWANTED 4 //do signup
  15. #define SIGNUPDECLINED 5 //don't do signup
  16. #define SIGNUPSETUPONLY 6 //only do setup
  17. #define TOLLFREECANCEL 7
  18. #define TOLLFREEOK 8
  19. #define PHONESYNCOK 9
  20. #define PHONESYNCCANCEL 10
  21. #define AUTOPICKOK 11
  22. #define AUTOPICKCANCEL 12
  23. #define SIGNUPDONE 16
  24. #define SIGNUPCONTINUE 17
  25. #define JOINOK 18
  26. #define JOINCANCEL 19
  27. #define JOINFAILED 20
  28. #define LEGALAGREE 21
  29. #define LEGALREFUSE 22
  30. #define PRODINFOOK 23
  31. #define PRODINFOFAILED 24
  32. #define USERPASSOK 25
  33. #define USERPASSCANCEL 26
  34. #define USERPASSFAILED 27
  35. #define USERPASSRETRY 28
  36. #define USERPASSACCTERROR 29
  37. #define USERPASSBADCREDIT 30
  38. #define LOCKOUTOK 31
  39. #define LOCKOUTFAILED 32
  40. //Alerts - tells the inherited class what alerts to put up.
  41. #define ALERTIDCANCEL 1 //do a cancellation alert
  42. #define ALERTIDRETRY ALERTIDCANCEL + 1 //do a general retry this action alert
  43. #define ALERTIDSETTINGS ALERTIDRETRY + 1 //display connection settings etc..
  44. #define ALERTIDGENERAL ALERTIDSETTINGS + 1 //general no retry alert..
  45. #define ALERTIDNOMODEM ALERTIDGENERAL + 1 //no modem alert
  46. #define ALERTIDLINEDROPPED ALERTIDNOMODEM + 1 //line dropped alert.
  47. #define ALERTIDOOM ALERTIDLINEDROPPED + 1 //out of memory
  48. #define ALERTIDFTMERROR ALERTIDOOM + 1 //ftm error
  49. #define ALERTIDNOTEXT ALERTIDFTMERROR + 1 //blank edit field
  50. #define ALERTIDDBCS ALERTIDNOTEXT + 1 //DBCS characters found...
  51. #define ALERTIDLESSTEXT ALERTIDDBCS + 1 //not enough text in edit field
  52. #define ALERTIDHASSPACES ALERTIDLESSTEXT + 1 //string has spaces
  53. //Status - tells the inherited class the status of the call
  54. #define STATUSIDINIT 1 //initializing..
  55. #define STATUSIDDIAL 2 //dialing..
  56. #define STATUSIDCONNECT 3 //connected..
  57. #define STATUSIDDISCONNECT 4 //disconnected..
  58. #define STATUSIDCANCELLING 5 //cancelling..
  59. #define STATUSIDCANCEL 6 //cancelled..
  60. #define STATUSTRANSFER 7 //transferring data..
  61. #endif