Share via


IAMTimecodeGenerator::SetTimecode

 
Microsoft DirectShow 9.0

IAMTimecodeGenerator::SetTimecode

The SetTimecode method sets the timecode, userbit value, or both.

Syntax

  HRESULT SetTimecode(
  PTIMECODE_SAMPLE pTimecodeSample
);

Parameters

pTimecodeSample

[in] Pointer to a TIMECODE_SAMPLE structure.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

To set only timecode, set userbit value to NULL, and vice versa. If generator is running, these values will take effect immediately.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also