Share via


CreateHistoryReader Function

Creates a history reader for the specified file.

HRESULT CreateHistoryReader (
       [in]  LPCWSTR        wzFilePath,
       [out] IHistoryReader **ppHistoryReader
  );

Parameters

  • wzFilePath
    [in] The file path.
  • ppHistoryReader
    [out] On successful completion, contains a pointer to the history reader.

Return Value

This method returns standard COM error codes as defined in WinError.h, in addition to the values described in the following table.

Return code Description

S_OK

Indicates that the method completed successfully.

E_INVALIDARG

Indicates that wzFilePath or ppHistoryReader are set to a null reference.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Library: Fusion.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Other Resources

GetHistoryFileDirectory
NukeDownloadedCache
Fusion Global Static Functions