Microsoft DirectX 8.1 (C++) |
The AMTimeline.ValidateSourceNames method validates source names in the timeline, using the media locator. Optionally, this method also updates any source object for which it locates a file.
Syntax
object.ValidateSourceNames(
ValidateFlags As Long,
pOverride As MediaLocator,
NotifyEventHandle As LONG_PTR
)
Parameters
ValidateFlags
Bitwise combination of flags specifying the behavior of the media locator. See File Name Validation Flags for possible values. The SFN_VALIDATEF_REPLACE and SFN_VALIDATEF_CHECK flags must be present, or the method returns E_INVALIDARG.
pOverride
Optional MediaLocator object to use in place of the default. To use the default media locator, set the value of this parameter to Nothing.
NotifyEventHandle
Variable of type LONG_PTR. This parameter is ignored and can be zero.
Error Codes
If the method fails, an error is raised, and Err.Number can be set to the following value:
Value | Description |
E_INVALIDARG | Invalid argument. |
See Also