1.1.16.8 WDRV_WINC_FILE_STATUS_CALLBACK Typedef
C
typedef void (*WDRV_WINC_FILE_STATUS_CALLBACK) ( DRV_HANDLE handle, WDRV_WINC_FILE_HANDLE fHandle, uintptr_t userCtx, WDRV_WINC_FILE_STATUS_TYPE status );
Description
Definition of file status callback, used to indicate the status of a file transfer operation.
Parameters
Parameters | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open . |
fHandle | File transfer handle. |
userCtx | User context supplied to WDRV_WINC_FileOpen . |
status | Status of operation. |
Returns
None.
Remarks
status | Description |
---|---|
WDRV_WINC_FILE_STATUS_OK | A transfer command has succeeded. |
WDRV_WINC_FILE_STATUS_ERROR | A file open or transfer command has failed. |
WDRV_WINC_FILE_STATUS_CLOSE | A file transfer has been completed and is closing. |
WDRV_WINC_FILE_STATUS_WRITE_COMPLETE | A write operation has completed. |