I am just trying to understand some source code written in C++. I am a bit familiar with C++, however, the following code sequence is absolutley new to me. A guess would be that here I register some thread routine with the kernel, ptest->Run(). Could that be right?
static unsigned int __stdcall ThreadProc(void *lParameter)
{
CTest *ptest;
ptest= (Ctest *)lParameter;
ptest->Run();
return 0;
}
CTest::CTest(int n)
{
...
}