USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 152

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
10.2.1.5.
Definition:
BOOL
Uftp_GetFile(
Parameters:
hUftp
DestFileName – specifies full path to the file on the Host, which should be transmitted
SrcFileName – specifies requested file name from the Device.
Returns:
TRUE if operation completes successfully. FALSE if any error occurred. To get extended
error information the Client should call the
Comments:
This function sends a file from the Device specified by file name
Host file, specified by full file path
the UFTP object, it will be invoked on each transfer unit transmitted.
The following UFTP requests will appear on the bus:
The function locks the Device for following request while transmitting the file, thus
several application can request get file operation.
M
);
HUFTP hUftp,
LPCTSTR DestFileName,
LPCTSTR SrcFileName
UFTP_GET_FILE_INFO
UFTP_SET_TRANSFER_LENGTH
UFTP_READ
– handle to UFTP object obtained from
from the Device.
Uftp_GetFile
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Appendix 4:USB FILE TRANSFER LIBRARY.
DestFileName
Uftp_GetLastError
. If any progress routine is attached to
Uftp_Connect
Win32 API function.
SrcFileName
routine.
to the
10-7

Related parts for USB HOST DRIVER V03