ISpThreadControl::StartThread (SAPI 5.4)
Microsoft Speech API 5.4
ISpThreadControl::StartThread
ISpThreadControl::StartThread initializes a thread and optionally returns a window handle.
HRESULT StartThread(
DWORD dwFlags,
HWND *phwnd
);
Parameters
- dwFlags
Reserved. Must be zero. - phwnd
Optional address of an handle to a window. The handle of the new window will be returned to phwnd if this parameter is non-NULL. A window will not be created if this parameter is NULL.
Return values
Value |
S_OK |
E_INVALIDARG |
E_POINTER |
E_OUTOFMEMORY |