Share via


CMsgThread::CreateThread

 
Microsoft DirectShow 9.0

CMsgThread::CreateThread

Creates a thread.

Syntax

  BOOL CreateThread(void);

Return Value

Returns one of the following values.

Value Description
TRUE Thread was successfully created.
FALSE Thread was not successfully created.

Remarks

The thread will loop, blocking until a request is queued (through the CMsgThread::PutThreadMsg member function) and then calling the CMsgThread::ThreadMessageProc member function with each message.

Requirements

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

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

See Also