IAMTimelineSrc::SetMediaLength2 method
Note
[Deprecated. This API may be removed from future releases of Windows.]
The SetMediaLength2
method specifies the duration of the source file. This method is equivalent to IAMTimelineSrc::SetMediaLength, but takes a REFTIME value.
Syntax
HRESULT SetMediaLength2(
REFTIME Length
);
Parameters
-
Length
-
Media length, in seconds.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Note
The header file Qedit.h is not compatible with Direct3D headers later than version 7.
Note
To obtain Qedit.h, download the Microsoft Windows SDK Update for Windows Vista and .NET Framework 3.0. Qedit.h is not available in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.
Requirements
Header |
|
Library |
|
See also