Class CSocketThreadManager::
~CSocketThreadManager()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CSocketThreadManagerNext page: DecreaseSocketCount    Show member index
Public Destructor Declared in:
SocketThreadManager.h

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

virtual ~CSocketThreadManager();

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

try
{
    //Release the critical section
    DeleteCriticalSection(&m_pCSection);

    //Delete the thread data
    if (m_pThreadData)
    {
        for (int iCounter=0;iCounter<=m_iThreadCount;++iCounter)
            //Post a stop message
            if (m_pThreadData[iCounter].hThreadHandle)
            {
                PostThreadMessage(m_pThreadData[iCounter].dwThreadID,WM_QUIT,0,0);

                //Delete the window
                DestroyWindow(m_pThreadData[iCounter].hWindowHandle);
            }

        //Delete the structure
        delete [] m_pThreadData;
    }
}
ERROR_HANDLER("~CSocketThreadManager")

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

Class Overview Class Overview  |  Public base class CSpoofBase  |  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: 24 Apr 2001.