TtsOpen

Opens a new TTS engine instance.

The engine is created according to the information specified in the pOpenParams parameter.

TTSRETVAL TtsOpen(
  HTTSINSTANCE    * phTtsInst,
  TTS_OPEN_PARAMS * pOpenParams,
  LH_VOID         * pAppData
);

Argument

Description

phTtsInst

[out] This pointer receives the handle for the newly created TTS engine instance. This handle is passed to other TTS functions to identify the instance.

pOpenParams

[in] Pointer to a structure whose members are used to control aspects and behaviors of the created engine. Members of this structure must be filled in. See TTS_OPEN_PARAMS.

pAppData

[in] Any useful application data that will be passed back to the application each time a callback is invoked.

Error codes: This function can return license-related errors. See Error codes.