Microsoft DirectX 9.0

MediaLocator.AddFoundLocation Method

The AddFoundLocation method adds a directory to the directory cache.

Syntax

object.AddFoundLocation( 
    DirectoryName As String
)

Parameters

DirectoryName

Directory path to add to the cache.

Error Codes

If the method fails, an error is raised.

Remarks

The MediaLocator object 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.

See Also