1.1.16.12 WDRV_WINC_FileDelete
C
WDRV_WINC_STATUS WDRV_WINC_FileDelete ( DRV_HANDLE handle, const char *pFilename, WDRV_WINC_FILE_TYPE type, WDRV_WINC_FILE_DELETE_CALLBACK pfDeleteCb, uintptr_t deleteCbCtx )
Description
Requests the WINC device deletes a file of a particular name and type.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
handle | WINC driver handle obtained from WDRV_WINC_Open . |
pFilename | Pointer to filename to delete. |
type | Type of file. |
pfDeleteCb | Pointer to application callback to receive status. |
deleteCbCtx | User context value to pass to callback. |
Returns
WDRV_WINC_STATUS_OK - A file delete request was sent.
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_RETRY_REQUEST - Another request is being processed, try again.
Remarks
None.