Opens the speech port and initializes a connection to the Speech Engine.
int OpenPort(ExportLogMsg Log, void* p, intverbosity);
Note: The returned handle is used by most other API functions, and must be closed by calling LV_SRE_ClosePort.
LV_SUCCESS
No errors; the port initialized successfully,
LV_FAILURE
Licensing has been exceeded. There are too many LVSpeechPorts active.
LV_SYSTEM_ERROR
The port is already open.
Log
Pointer to a function which will receive logging information from the object.
p
A void pointer to client application-defined data. This data will be passed into the ExportLogMsg function to identify the calling port.
verbosity
range: 0 - 6
0 - minimal logging info
6 - maximum logging info
This method activates the speech port object. The recognition engine will begin initializing when this function is called. Control will return to the application immediately.
p is passed into the ExportLogMsg function to enable client-application-defined behavior.
Complete Help Topic List | Speech Engine Product Information