SpeechStreamFileMode (SAPI 5.3)

Microsoft Speech API 5.3

SpeechStreamFileMode Enum

The SpeechStreamFileMode enumeration lists the access modes of a file stream.

Used by SpFileStream.Open.

Definition

  Enum SpeechStreamFileMode
    SSFMOpenForRead = 0
    [hidden] SSFMOpenReadWrite = 1
    [hidden] SSFMCreate = 2
    SSFMCreateForWrite = 3
End Enum

Elements

  • SSFMOpenForRead
    Opens an existing file as read-only.
  • SSFMOpenReadWrite
    [hidden] Opens an existing file as read-write. Not supported for wav files.
  • SSFMCreate
    [hidden] Opens an existing file as read-write. Else, it creates the file then opens it as read-write. Not supported for wav files.
  • SSFMCreateForWrite
    Creates file even if file exists and so destroys or overwrites the existing file.