ISpThreadControl::StartThread (Windows CE 5.0)

Send Feedback

This method initializes a thread and optionally retrieves a window handle.

HRESULT StartThread(DWORD dwFlags,HWND* phwnd);

Parameters

  • dwFlags
    [in] Reserved. Must be 0.
  • phwnd
    [out] Optional pointer to a window handle. If this parameter is NULL, no window is created. If it is non-null, the handle of a new window is retrieved.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG One or more arguments are invalid.
E_POINTER Invalid pointer.
E_OUTOFMEMORY Exceeded available memory.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

ISpThreadControl | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.