1.1.16.6 WDRV_WINC_FILE_DELETE_CALLBACK Typedef

C

typedef void (*WDRV_WINC_FILE_DELETE_CALLBACK)
(
    DRV_HANDLE handle,
    uintptr_t userCtx,
    WDRV_WINC_FILE_TYPE type,
    WDRV_WINC_FILE_STATUS_TYPE status
);

Description

Definition of file delete callback, used to indicate the status of a file delete operation.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
userCtxUser context supplied to WDRV_WINC_FileFind.
typeFile type found.
statusStatus of operation.

Returns

None.

Remarks

statusDescription
WDRV_WINC_FILE_STATUS_OKIndicates the file delete operation succeeded.
WDRV_WINC_FILE_STATUS_ERRORIndicates the file delete operation failed.