Class CWin32Thread::
CWin32Thread()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: m_hThreadNext page: ~CWin32Thread    Show member index
Public Constructor Declared in:
Win32Thread.h

'Declaration' icon -- Shortcut to top of page. Declaration

CWin32Thread(
    LPGenericThreadProc pThreadProc);

'Description' icon -- Shortcut to top of page. Description

Construction/Destruction

'Initializer Override(s)' icon -- Shortcut to top of page. Initializer Override(s)

CGenericThread(
pThreadProc)    
m_hThread(
0)    

'Function Body' icon -- Shortcut to top of page. Function Body

if (m_pThreadProc)
{
    //Create the thread in suspend mode
    m_hThread=CreateThread(NULL,
                           0,
                           Win32Thread,
                           this,
                           CREATE_SUSPENDED,
                           &m_dwThreadID);

    //Check if created
    if (m_hThread)
        SetThreadStatus(tsSuspended);
}

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CGenericThread  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.