|Microsoft DirectX 9.0|
The AddFoundLocation method adds a directory to the directory cache.
HRESULT AddFoundLocation( BSTR DirectoryName );
Directory path to add to the cache.
Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.
The media locator keeps a cache of directory paths where it has successfully found files in past searches. When it successfully locates a file, it adds the directory to the cache.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.