XLL+ Class Library (6.3)

PersistentHandleCache<T>::ExpandDataFile

Returns the expanded path to the persistent storage.

bool ExpandDataFile(
   std::tstring& strDataFile
) const;

Parameters

strDataFile

strDataFile will be filled with the full path to the file to be used for persistent storage. If the DataFile property includes environmment variables such as %TMP%, these will be expanded.

Return Value

Returns true if the expansion succeeds, false if it fails. It will always fail if the DataFile property is empty.

Requirements

Header: rtdhandles.h

See Also

PersistentHandleCache<T> Class | PersistentHandleCache<T> Methods | GetDataFile