SR_MODEM.DLL
3/13/94
Stage Research


SR_MODEM provides functionallity to your application (C,C++,VB, etc) to
determine if there is voice mail waiting.   It can also create and send a
message to a pager.  This is a shareware product that should be registered if
you find is useful.  Full source code is available for additional cost.

1)  How it works:

// StageCheckvMail
//
//  Test the dial tone for a stutter.  If we find a stutter (or no dial tone) we
//  assume that there is voice mail.
//
//  Input:
//          LPSTR    Phone number of voice mail, used only to have
//                    	a number to dial.
//          int         	Comm port that modem is on (1,2)
//          WORD FAR *  Where to store return value
//  Return:
//          FALSE       Error value.
//                      1, Can't open com port
//                      2, Can't build DCB for communication.
//                      3, Can't set DCB
//                      4, Timed out on modem
//          TRUE        Success.
//                      0, No voice mail found.
//                      1, Voice mail found.
//

// StageSendPage
//
//  Dial a pager server and send a pager message.  Message is numeric only.
//
//  Input:
//          LPSTR       Phone number of pager service
//          LPSTR       Pager message
//          int         Comm port that modem is on (1,2)
//          WORD FAR *  Where to store return value
//  Return:
//          FALSE       Error value.
//                      1, Can't open com port
//                      2, Can't build DCB for communication.
//                      3, Can't set DCB
//                      4, Timed out on modem
//          TRUE        Success.
//                      0, Page not sent, busy or no answer.
//                      1, Page sent.
//

// StageSendPagePin
//
//  Dial a pager server and send a pager message.  Message is numeric only.
//  This will use a PIN number to attach to the correct pager.
//
//  Input:
//          LPSTR       Phone number of pager service
//          LPSTR       Pager PIN number
//          LPSTR       Pager message
//          int         Comm port that modem is on (1,2)
//          WORD FAR *  Where to store return value
//  Return:
//          FALSE       Error value.
//                      1, Can't open com port
//                      2, Can't build DCB for communication.
//                      3, Can't set DCB
//                      4, Timed out on modem
//          TRUE        Success.
//                      0, Page not sent, busy or no answer.
//                      1, Page sent.
//

2)  How to link with this DLL.

The IMPORT LIB file is included for easy linking with C or C++.  For Visual
Basic youll just have to define the function and call it.

3)  How to register.

If you find this DLL useful you can register it with:

Stage Research
SR_MODEM Registration
6315 Pearl Road, #301
Parma Hts, OH 44130

Send $15.00 and your name, address, etc.  For faster delivery send us your
eMail address and will get it to you that way.

If you want the source code, send $75.00.

Thank you.

