ISpThreadControl::ThreadId (Windows Embedded CE 6.0)

1/6/2010

This method returns the Win32 identifier of the thread associated with the thread control object. If ISpThreadControl::StartThread has not been called, this method returns 0.

Syntax

DWORD ThreadId(void);

Parameters

None.

Return Value

Thread identifier, or 0.

Requirements

Header sapiddk.h, sapiddk.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpThreadControl
SAPI Interfaces