source: trunk/src/kernel32/thread.H@ 91

Last change on this file since 91 was 46, checked in by sandervl, 26 years ago

* empty log message *

File size: 625 bytes
Line 
1/*
2 *
3 * Project Odin Software License can be found in LICENSE.TXT
4 *
5 */
6/*
7 * Win32 Thread API functions
8 *
9 * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
10 *
11 */
12#ifndef __THREAD_H__
13#define __THREAD_H__
14
15//Why the @#%@#$ didn't IBM use _stdcall??
16
17typedef DWORD (* WIN32API WIN32THREADPROC)(LPVOID);
18
19class Win32Thread
20{
21public:
22 Win32Thread(LPTHREAD_START_ROUTINE pUserCallback, LPVOID lpData);
23 ~Win32Thread();
24
25 PTHREAD_START_ROUTINE_O32 GetOS2Callback();
26private:
27
28 LPVOID lpUserData;
29 LPTHREAD_START_ROUTINE pCallback;
30 friend static DWORD OPEN32API Win32ThreadProc(LPVOID lpData);
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.