![]() |
Win32Thread() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: Win32Thread.h |
static DWORD WINAPI Win32Thread( LPVOID lpData);
Our thread proc
//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;
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |