38.9.4.21 Read CF Card file (optional file name)

Function to read the file contents of the file to save to CF Card. You can optionally define the file to read.

Function Name

INT WINAPI EasyFileReadInCfCard(LPCSTR sNodeName, LPCSTR sFolderName, LPCSTR sFileName, LPCSTR pWriteFileName, DWORD* odwFileSize);

Argument

sNodeName: The station name is fixed as #WinGP.

sFolderName: Folder name of file on the CF Card file to read (Maximum 32 single-byte characters).

sFileName: File name in the 8.3 string format to read from the CF Card.

pWriteFileName: File name and path for saving the CF Card file

odwFileSize: File size of the file read from the CF Card

Return value (NULL)

Normal End: 0

Problem: Error code