1.1.9.2 WDRV_WINC_FileOpen
Function
WDRV_WINC_FILE_HANDLE WDRV_WINC_FileOpen ( DRV_HANDLE handle, const char *pFilename, WDRV_WINC_FILE_TYPE type, WDRV_WINC_FILE_MODE_TYPE mode, size_t lenFile, WDRV_WINC_FILE_STATUS_CALLBACK pfStatusCb, uintptr_t statusCbCtx )
Summary
Open a file transfer.
Description
Open a file transfer between user application and WINC device.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
handle - WINC driver handle obtained from WDRV_WINC_Open.
pFilename - Pointer to filename to open.
type - Type of file.
mode - Mode of opening.
lenFile - Length of file to transfer.
pfStatusCb - Pointer to application callback to receive status.
statusCbCtx - User context value to pass to callback.
Returns
File handle or WDRV_WINC_FILE_INVALID_HANDLE.
Remarks
None.