1.1.9.5 WDRV_WINC_FileClose

Function

WDRV_WINC_STATUS WDRV_WINC_FileClose
(
DRV_HANDLE handle,
WDRV_WINC_FILE_HANDLE fHandle
)

Summary

Close a file transfer.

Description

Close 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. WDRV_WINC_FileOpen should have been called to obtain a valid file handle.

Parameters

handle - WINC driver handle obtained from WDRV_WINC_Open.

fHandle - File handle received from WDRV_WINC_FileOpen.

Returns

WDRV_WINC_STATUS_OK - A scan was initiated.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_BUSY - Transfer is busy

Remarks

None.