1.1.16.9 WDRV_WINC_FileFind
C
WDRV_WINC_STATUS WDRV_WINC_FileFind
(
DRV_HANDLE handle,
WDRV_WINC_FILE_TYPE type,
WDRV_WINC_FILE_FIND_CALLBACK pfFindCb,
uintptr_t findCbCtx
)Description
Requests the WINC device send a list of a particular file 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. |
| 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 file find 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.
