WofWimEnumFiles function (wofapi.h)

Enumerates all of the files which are being backed by a specified WIM data source on a specified volume.

Syntax

HRESULT WofWimEnumFiles(
  [in]           PCWSTR           VolumeName,
  [in]           LARGE_INTEGER    DataSourceId,
  [in]           WofEnumFilesProc EnumProc,
  [in, optional] PVOID            UserData
);

Parameters

[in] VolumeName

The path to the volume which hosts WIM-backed files.

[in] DataSourceId

Identifier used to identify the WIM entry.

[in] EnumProc

The callback function for file provided by the WIM entry.

[in, optional] UserData

Optional user defined data passed to EnumProc.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header wofapi.h
Library Wofutil.lib
DLL Wofutil.dll