IAMTimeline::GetDuration2 method
Note
[Deprecated. This API may be removed from future releases of Windows.]
The GetDuration2
method retrieves the duration of the timeline. This method is equivalent to IAMTimeline::GetDuration, but takes a parameter of type double.
Syntax
HRESULT GetDuration2(
double *pDuration
);
Parameters
-
pDuration
-
Receives the duration of the timeline, in fractional 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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also