Microsoft DirectX 8.1 (C++) |
The IMediaLocator interface provides methods for validating file names in DirectShow Editing Services (DES). Use this interface to ensure that a given file name and path correspond to an existing file. This interface also provides a way to search for the file at other locations, and to display an Open dialog box so that the user can locate the file.
The media locator implements this interface. The
Typically, a DES application will call these methods rather than directly create an instance of the media locator. For more information, see Using the Media Locator.
Requirements
Requires Qedit.h.
In addition to the methods inherited from IUnknown, the IMediaLocator interface exposes the following methods.
Method | Description |
AddFoundLocation | Adds a directory to the directory cache. |
FindMediaFile | Searches for a file and, if successful, retrieves the path to the file. |