共用方式為


IAMTimelineComp::GetVTrack

 
Microsoft DirectShow 9.0

IAMTimelineComp::GetVTrack

The GetVTrack method retrieves the virtual track at the specified priority.

Syntax

  HRESULT GetVTrack(
    IAMTimelineObj **ppVirtualTrack,
    long Which
);

Parameters

ppVirtualTrack

[out] Address of a pointer that receives the virtual track's IAMTimelineObj interface.

Which

Priority of the virtual track to retrieve.

Return Value

Returns one of the following HRESULT values:

Return code Description
S_OK Success.
E_INVALIDARG No virtual track with the specified priority.
E_POINTER NULL pointer argument.

Remarks

If the method succeeds, the IAMTimelineObj interface that it returns has an outstanding reference count. Be sure to release the interface when you are finished using it.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also