SendData
This function can be used to Sends data over a data call.
DWORD SendData(
   BYTE *lpData,
   DWORD cbSize,
   LPDWORD dwNumBytesWritten
);
Parameters
lpData
[in] Pointer to the buffer containing the information that is to be sent.
cbSize
[in] Size in bytes of the data contained in lpData.
dwNumBytesWritten
[out] Returns number of bytes that were actually sent.

Return values
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
For additional error information, enable the library debug mode.

Remarks
Not implemented in DynRIL v1.0.
A valid handle to the comm serial port associated with the phone line is obtained only after the NETWORK_EVENT_CALL_CONNECT has been received. So SendData can be used only after the NETWORK_EVENT_CALL_CONNECT message.

Requirements
OS Versions: Windows CE 1.0 and later.
Header: dynril.h.
Dll Library: dynrildll.dll.

For the latest DynRIL version, visit www.teksoftco.com.