1.1.16.13 WDRV_WINC_FileClose
C
WDRV_WINC_STATUS WDRV_WINC_FileClose ( DRV_HANDLE handle, WDRV_WINC_FILE_HANDLE fHandle )
Description
Close a file transfer between user application and WINC device.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
WDRV_WINC_FileOpen
must have been called to obtain a valid file handle.
Parameters
Parameters | Description |
---|---|
handle | WINC driver handle obtained from WDRV_WINC_Open . |
fHandle | File handle received from WDRV_WINC_FileOpen . |
Returns
WDRV_WINC_STATUS_OK - The file was closed.
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.