Files | |
| file | sendsms.h |
| Definition of functions and types for handling SMS. | |
Enumerations | |
| enum | t_smserrcode { SMS_OK = 0, SMS_PARAM, SMS_ERR, SMS_REGISTER_CLASS, SMS_UNKNOWN } |
| Error messages. More... | |
Functions | |
| HRESULT | sendsms (const TCHAR *aNumber, const TCHAR *aMessage) |
| Sends SMS message to the given phone number. | |
| int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) |
| The main entry point of the snapshot program. | |
| enum t_smserrcode |
| HRESULT sendsms | ( | const TCHAR * | aNumber, | |
| const TCHAR * | aMessage | |||
| ) |
Sends SMS message to the given phone number.
| aNumber | the phone number of the receipient | |
| aMessage | the SMS message |
| int WINAPI WinMain | ( | HINSTANCE | hInstance, | |
| HINSTANCE | hPrevInstance, | |||
| PSTR | szCmdLine, | |||
| int | iCmdShow | |||
| ) |
The main entry point of the snapshot program.
| hInstance | ignored, if command line parameter given. Else used for the creation of the main window. | |
| hPrevInstance | ignored | |
| szCmdLine | If null, or empty, then shows a dialog for the creation of an SMS. Else it assumes, that the command line contains a phone number and the text of the SMS. The phone number is separated from the text by a tabulator or space character. | |
| iCmdShow | ignored, if command line given, else used for the creation of the main window. |
1.5.6