1.1.9.3 WDRV_WINC_FileFind
Function
WDRV_WINC_STATUS WDRV_WINC_FileFind ( DRV_HANDLE handle, WDRV_WINC_FILE_TYPE type, WDRV_WINC_FILE_FIND_CALLBACK pfFindCb, uintptr_t findCbCtx )
Summary
Find a type of file.
Description
Requests the WINC device send a list of a particular file type.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
handle - WINC driver handle obtained from WDRV_WINC_Open.
type - Type of file.
pfFindCb - Pointer to application callback to receive file information and status.
findCbCtx - User context value to pass to callback.
Returns
WDRV_WINC_STATUS_OK - A scan was initiated.
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.