home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / SR_MODEM.ZIP / SR_MODEM.TXT < prev    next >
Text File  |  1994-03-13  |  3KB  |  97 lines

  1. SR_MODEM.DLL
  2. 3/13/94
  3. Stage Research
  4.  
  5.  
  6. SR_MODEM provides functionallity to your application (C,C++,VB, etc) to
  7. determine if there is voice mail waiting.   It can also create and send a
  8. message to a pager.  This is a shareware product that should be registered if
  9. you find is useful.  Full source code is available for additional cost.
  10.  
  11. 1)  How it works:
  12.  
  13. // StageCheckvMail
  14. //
  15. //  Test the dial tone for a stutter.  If we find a stutter (or no dial tone) we
  16. //  assume that there is voice mail.
  17. //
  18. //  Input:
  19. //          LPSTR    Phone number of voice mail, used only to have
  20. //                        a number to dial.
  21. //          int             Comm port that modem is on (1,2)
  22. //          WORD FAR *  Where to store return value
  23. //  Return:
  24. //          FALSE       Error value.
  25. //                      1, Can't open com port
  26. //                      2, Can't build DCB for communication.
  27. //                      3, Can't set DCB
  28. //                      4, Timed out on modem
  29. //          TRUE        Success.
  30. //                      0, No voice mail found.
  31. //                      1, Voice mail found.
  32. //
  33.  
  34. // StageSendPage
  35. //
  36. //  Dial a pager server and send a pager message.  Message is numeric only.
  37. //
  38. //  Input:
  39. //          LPSTR       Phone number of pager service
  40. //          LPSTR       Pager message
  41. //          int         Comm port that modem is on (1,2)
  42. //          WORD FAR *  Where to store return value
  43. //  Return:
  44. //          FALSE       Error value.
  45. //                      1, Can't open com port
  46. //                      2, Can't build DCB for communication.
  47. //                      3, Can't set DCB
  48. //                      4, Timed out on modem
  49. //          TRUE        Success.
  50. //                      0, Page not sent, busy or no answer.
  51. //                      1, Page sent.
  52. //
  53.  
  54. // StageSendPagePin
  55. //
  56. //  Dial a pager server and send a pager message.  Message is numeric only.
  57. //  This will use a PIN number to attach to the correct pager.
  58. //
  59. //  Input:
  60. //          LPSTR       Phone number of pager service
  61. //          LPSTR       Pager PIN number
  62. //          LPSTR       Pager message
  63. //          int         Comm port that modem is on (1,2)
  64. //          WORD FAR *  Where to store return value
  65. //  Return:
  66. //          FALSE       Error value.
  67. //                      1, Can't open com port
  68. //                      2, Can't build DCB for communication.
  69. //                      3, Can't set DCB
  70. //                      4, Timed out on modem
  71. //          TRUE        Success.
  72. //                      0, Page not sent, busy or no answer.
  73. //                      1, Page sent.
  74. //
  75.  
  76. 2)  How to link with this DLL.
  77.  
  78. The IMPORT LIB file is included for easy linking with C or C++.  For Visual
  79. Basic youÆll just have to define the function and call it.
  80.  
  81. 3)  How to register.
  82.  
  83. If you find this DLL useful you can register it with:
  84.  
  85. Stage Research
  86. SR_MODEM Registration
  87. 6315 Pearl Road, #301
  88. Parma Hts, OH 44130
  89.  
  90. Send $15.00 and your name, address, etc.  For faster delivery send us your
  91. eMail address and will get it to you that way.
  92.  
  93. If you want the source code, send $75.00.
  94.  
  95. Thank you.
  96.  
  97.