WofEnumFilesProc callback function (wofapi.h)

Callback function that gets called for each file backed by an external data source, such as a WIM file.

Syntax

WofEnumFilesProc Wofenumfilesproc;

BOOL Wofenumfilesproc(
  [in]           PCWSTR FilePath,
  [in]           PVOID ExternalFileInfo,
  [in, optional] PVOID UserData
)
{...}

Parameters

[in] FilePath

Specifies the path to the file which is backed by an external data source.

[in] ExternalFileInfo

Points to a buffer containing information about the data source backing the file. The type of this buffer depends on the provider; data structures for each provider are:

WOF_PROVIDER_WIM WIM_EXTERNAL_FILE_INFO
WOF_PROVIDER_FILE WOF_FILE_COMPRESSION_INFO

[in, optional] UserData

Optional user defined data.

Return value

A boolean value that indicates whether the enumeration was successful. The enumeration will stop if this callback function returns FALSE.

Requirements

Requirement Value
Target Platform Windows
Header wofapi.h