| CWin32Thread:: CWin32Thread() |

Public Constructor | Declared in: Win32Thread.h

## Declaration

    CWin32Thread(
        LPGenericThreadProc pThreadProc);

## Description

Construction/Destruction

## Initializer Override(s)

CGenericThread(

  pThreadProc)

m_hThread(

  0)

## 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

Class Overview | CGenericThread | Hierarchy Chart

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.