Casio IT-2000W Technical Reference Manual page 235

Casio pda technical reference manual
Table of Contents

Advertisement

SendByYMODEM
This function is used to transmit a file by means of the YMODEM/bat protocol. Before this function
is called, the OpenYMODEM function must have been called.
SYNTAX
#include "ymodem.h"
short WINAPI _export SendByYMODEM(short iPkt, short nFiles,
LPSTR *sPath, BOOL bFullFileName, BOOL bFindSubDir )
short WINAPI _export SendByYMODEMforVB(short iPkt, short nFiles,
LPSTR *sPath, BOOL bFullFileName, BOOL bFindSubDir )
INPUT
iPkt
nFiles
FileName
bFullFileName
bFindSubDir
OUTPUT
= 0
= Other Refer to the error code table.
Note:

Into the transmitted file name array store the FAR addresses to the file name character strings.
LPSTR SndFil[ 100 ] = { "c:

Whether TRUE or FALSE has been defined in windows.h. If calling this library (DLL) from
Visual BASIC, specify True/False as TRUE/FALSE.

If using VB3 as the development language, SendByYMODEM can not be called. This is
because VB3 does not permit the DLL to refer to the character string array. To solve this
problem a VB3-dedicated function, SendByYMODEMforVB, is provided.
Packet size (1024 or other)
Number of transmitted files
Pointer to the transmitted file name array
File names must be specified by their full pathnames.
TRUE: Use, FALSE: Not use
Specify whether to use the source-side full pathname as the
transmitted file name.
TRUE: Use recursive call, FALSE: Not use recursive call
When a wild card is used for the transmitted file name, files under
the sub-directory can be the objective of the file transmission.
If, for example, the transmitted file is D:

a directory, D:
the objective of transmission.
Normal termination

config.sys", "c:
235


TEST
SUB
TEST.DAT is also included in

autoexec.bat", 0 };


TEST
*.DAT,

Advertisement

Table of Contents
loading

Table of Contents