Microsoft DirectX 8.1 (C++)

CMsgThread::GetThreadID

Retrieves the thread's identifier.

Syntax

DWORD GetThreadID(void);

Return Value

Returns the m_ThreadId private data member.

Remarks

This function returns the Microsoft Win32 identifier for the worker thread. You can call this member function on either the worker thread or a client thread.

See Also