LVGrammar_RegisterLoggingCallback

Registers a callback so the object can report warnings and errors to the grammar author via the callback function.

Function

void LVGrammar_RegisterLoggingCallback (HGRAMMAR hgram, GrammarLogCB log, void* userData)

Parameters

hgram

The handle to the grammar object.

log

The logging callback function pointer.

userdata

The pointer to user defined data associated with the grammar object pointed by Grammar. It will be passed into the callback function.

Remarks

The call back function need to have signature defined by GrammarLogCB.

See Also


Complete Help Topic List | Speech Engine Product Information