The File Read function reads a block of data from an open file. The structure follows:
typedef struct _pmiRW
{
char EyeCatcher[pmiMAX_EC_LEN];/* Struct eyecatcher string */
pmUInt32 StructLength; /* Length of this structure */
void *FIData;
pmUInt32 BufferLen;
char *Buffer;
} pmiRW_t;
where:
Parameter |
Field |
Description |
EyeCatcher |
input |
Structure description string, such as pmReadParms. |
StructLength |
input |
Total structure length, including the EyeCatcher string. |
FIData |
input |
Value provided by the Access Module in response to a previous file open request call. |
BufferLen |
output |
Length of the returned data block. |
Buffer |
input |
Pointer to the buffer area into which the Access Module is to return the data block. |