WMTIMECODE_SAMPLE

Windows Media Encoder SDK banner art

The WMTIMECODE_SAMPLE structure is used with device control to get the current tape position and complete time code information.

Syntax

typedef struct WMTIMECODE_SAMPLE{
  LONGLONG  qwTick;
  WMTIMECODE  timecode;
  DWORD  dwUser;
  DWORD  dwFlags;
};

Remarks

qwTick is a QWORD containing the reference time, in 100-nanosecond units.

timecode specifies a WMTIMECODE structure.

dwUser is a DOUBLE WORD containing the packed SMPTE userbits.

dwFlags is a DOUBLE WORD containing the time code flag masks. Specify one or more of the following values.

Value Description
AM_TIMECODE_FLAG_FCM Frame code mode; 0 = nondrop; 1 = drop.
AM_TIMECODE_FLAG_CF Color frame flag.
AM_TIMECODE_FLAG_FIELD Field flag.
AM_TIMECODE_FLAG_DF Drop frame flag (from flags in actual time code on external media).
AM_TIMECODE_COLORFRAME Specifies frame in color sequence.
AM_TIMECODE_COLORSEQUENCE Duration in frames of complete sequence.
AM_TIMECODE_FILMSEQUENCE_TYPE One of the FILM_SEQUENCE_XXX defines.

Requirements

Header: wmdevctl.h

Library: wmdevctl.dll

See Also