This function returns the thread identifier, which is used as a handle of the calling thread.
DWORD GetCurrentThreadId(void);
Parameters
None.
Return Values
The thread identifier of the calling thread indicates success.
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system. This identifier is also the handle of the thread.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Kfuncs.h.
Link Library: Coredll.lib.
See Also
GetCurrentThread
-----------
WinCE 4.2
详情回复
发表于 2007-3-21 20:39
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system. This identifier is also the handle of the thread.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Kfuncs.h.
Link Library: Coredll.lib.
This function returns the thread identifier, which is used as a handle of the calling thread.
DWORD GetCurrentThreadId(void);
Parameters
None.
Return Values
The thread identifier of the calling thread indicates success.
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system. This identifier is also the handle of the thread.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Kfuncs.h.
Link Library: Coredll.lib.