CMsgThread::CreateThread

Creates a thread.

BOOL CreateThread( );

Return Values

Returns one of the following values.

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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.