WMEncoder.AutoStop

Windows Media Encoder SDK banner art

The AutoStop property specifies and retrieves a Boolean value that indicates whether the encoding process will be automatically stopped after source content from a media file has been completely encoded to a Windows Media file.

Syntax

WMEncoder.AutoStop = Boolean
Boolean = WMEncoder.AutoStop

Parameters

This property takes no parameters.

Property Value

A Boolean that indicates whether the encoding process automatically stops.

Remarks

The AutoStop property defaults to True. The Boolean value can be changed while the encoding process is running.

Example Code

' Create a WMEncoder object.
Dim Encoder As WMEncoder
Set Encoder = New WMEncoder

Set Encoder = New WMEncoder
Dim bAutoStop As Boolean

' Configure the encoding session to archive encoded content.
' For a complete example, see either the IWMEncFile object or the
' IWMEncFileArchiveStats object.

' Set the property.
Encoder.AutoStop = True
' Return the property.
bAutoStop = Encoder.AutoStop

Requirements

Reference: Windows Media Encoder

Library: wmenc.exe

See Also