This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: p // called by the OS when the thread is instantiated, this // must have the WINAPI function declaration static DWORD WINAPI ThreadProc(LPVOID lpData); private: p HANDLE event; // event handle PAPCFUNC pfnAPC; // address of user-provided callback LPSECURITY_ATTRIBUTES sa; // SECURITY_ATTRBUTES structure DWORD threadID; // thread id HANDLE thread; // handle to thread // if the following is set to be TRUE, when the events occurs, // will call QueueUserAPC() to queue the user-provided callback // as a user defined API. if the following is set to be FALSE; // then no user-provided callback will be queued. // if pfnAPC is NULL (no user-provided callback is defined), // then the following is ignored BOOL queueUserAPC; B private: p static void getErrorDetail(int&,string&); s }; } #endif...
View Full Document
This note was uploaded on 03/27/2011 for the course COMPUTER 101 taught by Professor Bobthebuilder during the Spring '11 term at Columbia College.
- Spring '11