WofEnumEntries function

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

Syntax

HRESULT WofEnumEntries(
  PCWSTR           VolumeName,
  ULONG            Provider,
  WofEnumEntryProc EnumProc,
  PVOID            UserData
);

Parameters

VolumeName

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

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.

EnumProc

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

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

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

See Also

FSCTL_ENUM_OVERLAY