Bewerken

Delen via


KSPROPERTY_POSITIONS structure (ks.h)

The KSPROPERTY_POSITIONS structure specifies the current position and stop position, relative to the total duration of the stream.

Syntax

typedef struct {
  LONGLONG         Current;
  LONGLONG         Stop;
  KS_SEEKING_FLAGS CurrentFlags;
  KS_SEEKING_FLAGS StopFlags;
} KSPROPERTY_POSITIONS, *PKSPROPERTY_POSITIONS;

Members

Current

Specifies the current position as a 64-bit value.

Stop

Specifies the stop position as a 64-bit value.

CurrentFlags

A structure of type KS_SEEKING_FLAGS containing flags pertaining to the Current parameter.

StopFlags

A structure of type KS_SEEKING_FLAGS containing flags pertaining to the Stop parameter.

Remarks

The KSPROPERTY_POSITIONS structure is used with positioning properties in the KSPROPSETID_MediaSeeking property set. These properties correspond to DirectShow's IMediaSeeking::GetPositions and IMediaSeeking::SetPositions.

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

KSPROPERTY_MEDIASEEKING_POSITIONS