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

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

Returns

None.

Remarks

statusDescription
WDRV_WINC_FILE_STATUS_OKIf 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_ERRORIndicates the file found operation failed.