#include ”faxclass.h”
virtual int ReadData(LPSTR Data, int Size)
|
Class 1. |
Class 2. Class 2.0 |
Brooktrout
|
GammaLink
|
Dialogic
|
NMS
|
Description
This function reads data from memory when data is required for sending a fax. The Size parameter specifies the length of the data to be read in bytes.
Returns zero if no more data is available, or an error if the communication direction is set to receiving.
Parameters
|
LPSTR |
Data |
Pointer to the beginning of the data. |
|
int |
Size |
Length of the data in bytes. |
Return Value
Returns the number of data bytes read, or returns -1 on error.
Sample Code
None at present.