Microsoft DirectX 9.0 |
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.
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. |
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.