Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GetHistoryFileDirectory Function

Retrieves the path of the application history directory.

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

wzDir

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

pdwSize

[in, out] The length of the buffer.

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.

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

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

Community Additions

ADD
Show:
© 2015 Microsoft