Windows Media Encoder SDK banner art
PreviousNext

RecordFileName Property

Returns or sets a BSTR value specifying the name of the .asf file that is going to be created in a recording session.

Syntax

NSASFRte.RecordFileName

Remarks

If you change the RecordFileName property while Windows Media Encoder is recording an .asf file, an error occurs. If you want to change the name of the .asf file that is being created during recording, you must call RecordStop to stop the recording, and set the file name. Then call RecordStart to begin recording again.

See Also

RecordDuration, RecordMaxSize, RecordStart, RecordStop, IsRecording, RecordAutoOverride

PreviousNext

© 1999 Microsoft Corporation. All rights reserved.