Methods - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

17.5.2. Methods

Function
AddFile
ClearFile
GetFile
GetFileCount
GetTransferredCount Returns the number of files for which transmission or receipt is complete.
Send
Receive
Abort
GetState
GetError
AddFile
Description
Add a file to be transmitted. Specify the filename excluding its pathname. The length of the filename is
within 90 characters.
Syntax
long AddFile (
LPCTSTR
FileName
Parameters
FileName
[in] Filename excluding pathname
Return value
Error code
ERROR_SUCCESS
ERROR_INVALID_PARAMETER
ERROR_FILENAME_EXCED_RANGE Filename too long
Add a file to be transmitted.
Clear a file added by AddFile.
Acquires the file name of the file to be transmitted or received.
At the transmission side, returns the number of transmitted files, and at the
receipt side, returns the number of received files, including the file currently
being received.
Transmit a file specified by AddFile.
Receive a file.
Abort the current file transmission process.
Get the current file transmission status.
Return the error information about the transaction processed last.
)
Successful completion
NULL set to the parameter.
Filename length is 0.
Description
Meaning
151

Advertisement

Table of Contents
loading

Table of Contents