Class CWin32Thread::
Win32Thread()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: StopNext page: Custom Code in Header Before Includes    Show member index
Private Function Declared in:
Win32Thread.h

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

static DWORD WINAPI Win32Thread(
    LPVOID lpData);

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

Our thread proc

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

//We have ourselves
CWin32Thread* pClass;
pClass=(CWin32Thread*)lpData;

//Indicate we started running
pClass->SetThreadStatus(tsRunning);

//Get our data
LPVOID pData;
pData=pClass->GetData();

//Our threadproc
LPGenericThreadProc lpProc;
lpProc=pClass->GetThreadProc();

//Get the proc return value
DWORD dwReturnValue;
dwReturnValue=(*lpProc)(pData);

//Indicate we stopped running
pClass->SetThreadStatus(tsStopped);

return dwReturnValue;

'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.