WofFileEnumFiles function

Enumerates all of the files which are compressed with a specified compression algorithm on a specified volume.

Syntax

HRESULT WofFileEnumFiles(
  PCWSTR           VolumeName,
  ULONG            Algorithm,
  WofEnumFilesProc EnumProc,
  PVOID            UserData
);

Parameters

VolumeName

A full path to the volume containing the files to enumerate.

Algorithm

The compression algorithm to enumerate. For a list of valid compression algorithms, see WOF_FILE_COMPRESSION_INFO_V1. If this value is MAX_ULONG, files compressed with any supported compression algorithm will be returned.

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_EXTERNAL_BACKING