WofEnumEntries function (wofapi.h)

Enumerates all the data sources from a specified provider for a specified volume.

Syntax

HRESULT WofEnumEntries(
  [in]           PCWSTR           VolumeName,
  [in]           ULONG            Provider,
  [in]           WofEnumEntryProc EnumProc,
  [in, optional] PVOID            UserData
);

Parameters

[in] VolumeName

The volume name hosting the files for which the backing data sources are requested.

[in] Provider

Indicates which provider’s data sources are being requested. Supported providers for this operation are:

WOF_PROVIDER_WIM Indicates that the function should return the WIM files which are providing data for placeholder files on the specified volume.

[in] EnumProc

The callback function for each data source. The enumeration will stop if EnumProc returns FALSE.

[in, optional] UserData

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

See also

FSCTL_ENUM_OVERLAY