GetHistoryFileDirectory
Retrieves the path of the application history directory.
HRESULT GetHistoryFileDirectory (
LPWSTR wzDir,
DWORD *pdwSize
);
Parameters
Parameter | Description |
---|---|
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 winerror.h in addition to the following values.
Return code | Description |
---|---|
S_OK |
The method completed successfully. |
E_INVALIDARG |
pdwSize is NULL. |
ERROR_INSUFFICIENT_BUFFER |
The length of the buffer is smaller than the length of the path string. |
Requirements
Library: fusion.dll
Remarks
On successful completion, the pdwSize argument is set to the length of the path string.