1.1.16.7 WDRV_WINC_FILE_FIND_CALLBACK Typedef
C
typedef void (*WDRV_WINC_FILE_FIND_CALLBACK) ( DRV_HANDLE handle, uintptr_t userCtx, WDRV_WINC_FILE_TYPE type, const char *pFilename, WDRV_WINC_FILE_STATUS_TYPE status );
Description
Definition of file find callback, used to indicate found files and operation status.
Parameters
Parameters | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open . |
userCtx | User context supplied to WDRV_WINC_FileFind . |
type | File type found. |
pFilename | Name of file found. |
status | Status of operation. |
Returns
None.
Remarks
status | Description |
---|---|
WDRV_WINC_FILE_STATUS_OK | If pFilename is NULL this indicates success of the whole find operation. If pFilename is not NULL this indicates a single file found operation. |
WDRV_WINC_FILE_STATUS_ERROR | Indicates the file found operation failed. |