Share via


CMsgThread::GetThreadHandle

 
Microsoft DirectShow 9.0

CMsgThread::GetThreadHandle

Retrieves the handle to the thread in the CMsgThread object.

Syntax

  HANDLE GetThreadHandle(void);

Return Value

Returns the thread handle.

Remarks

The thread handle can be passed to Microsoft® Win32® application programming interface (API) functions, such as WaitForMultipleObjects. The thread handle is signaled when the thread has exited.

Requirements

**  Header:** Declared in Msgthrd.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also