Share via


GetHistoryFileDirectory Function

Retrieves the path of the application history directory.

HRESULT GetHistoryFileDirectory (
    [in]      LPWSTR      wzDir,
    [in,out]  LPCWSTR  *pdwsize,
);

Parameters

  • wzDir
    [out] A buffer to hold the path to the application history directory.

  • pdwSize
    [in, out] The length of the buffer.

Return Value

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

Return code

Description

S_OK

The method completed successfully.

E_INVALIDARG

wzDir or pdwSize is null, or the version string is incorrect.

Remarks

On successful completion, the pdwSize argument is set to the length of the path string.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Fusion.h

Library: Fusion.dll and Mscorwks.dll. Use Fusion.dll instead of Mscorwks.dll to ensure that you target the correct version of the .NET Framework.

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1

See Also

Reference

CreateHistoryReader Function

NukeDownloadedCache Function

Other Resources

Fusion Global Static Functions