IAMTimelineGroup::SetMediaTypeForVB

 
Microsoft DirectShow 9.0

IAMTimelineGroup::SetMediaTypeForVB

The SetMediaTypeForVB method specifies the group media type, for Automation clients.

Syntax

  HRESULT SetMediaTypeForVB(
    long Val
);

Parameters

Val

[in] Value that specifies the media type. Set the value to 0 for video, or 1 for audio.

Return Value

Returns S_OK.

Remarks

This method is intended for Automation clients. For C++ applications, use the IAMTimelineGroup::SetMediaType method.

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