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

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
fHandleFile transfer handle.
userCtxUser context supplied to WDRV_WINC_FileOpen.
statusStatus of operation.

Returns

None.

Remarks

statusDescription
WDRV_WINC_FILE_STATUS_OKA transfer command has succeeded.
WDRV_WINC_FILE_STATUS_ERRORA file open or transfer command has failed.
WDRV_WINC_FILE_STATUS_CLOSEA file transfer has been completed and is closing.
WDRV_WINC_FILE_STATUS_WRITE_COMPLETEA write operation has completed.