IVDctDialogs::TrainGeneralDlg

HRESULT TrainGeneralDlg(HWND hWndParent, PTSTR pszTitle);

Displays a General Training dialog box, which trains a speech-recognition engine by having the user speak a preselected set of words. After the user speaks these words and phrases, recognition accuracy should be better for that particular user.

Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
VCMDERR_INVALIDMODE
VCMDERR_INVALIDWINDOW
VCMDERR_NOTSUPPORTED
VCMDERR_OUTOFMEM
VCMDERR_VALUEOUTOFRANGE

hWndParent

[in] Handle of the parent window. If this parameter is NULL, the engine returns NOERROR if it supports the General Training dialog box or VCMDERR_NOTSUPPORTED if it does not.

pszTitle

[in] Address of the string to use as the title of the dialog box. This parameter can be NULL to direct the engine to provide a default title.