ReactOS
0.4.15-dev-4872-g8a3db97
thread.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS HTTP Daemon
4
* FILE: include/thread.h
5
*/
6
#ifndef __THREAD_H
7
#define __THREAD_H
8
9
#include <windows.h>
10
11
class
CThread
;
12
13
struct
ThreadData
{
14
CThread
*
ClassPtr
;
15
HANDLE
hFinished
;
16
};
17
18
class
CThread
{
19
public
:
20
CThread
();
21
virtual
~CThread
();
22
BOOL
PostMessage
(
UINT
Msg
,
WPARAM
wParam
,
LPARAM
lParam
);
23
virtual
void
Execute
();
24
virtual
void
Terminate
();
25
BOOL
Terminated
();
26
protected
:
27
BOOL
bTerminated
;
28
DWORD
dwThreadId
;
29
HANDLE
hThread
;
30
ThreadData
Data
;
31
};
32
typedef
CThread
*
LPCThread
;
33
34
#endif
/* __THREAD_H */
CThread
Definition:
thread.h:18
WPARAM
UINT_PTR WPARAM
Definition:
windef.h:207
wParam
WPARAM wParam
Definition:
combotst.c:138
ThreadData::ClassPtr
CThread * ClassPtr
Definition:
thread.h:14
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
LPARAM
LONG_PTR LPARAM
Definition:
windef.h:208
CThread::bTerminated
BOOL bTerminated
Definition:
thread.h:27
CThread::Data
ThreadData Data
Definition:
thread.h:30
ThreadData::hFinished
HANDLE hFinished
Definition:
thread.h:15
CThread::~CThread
virtual ~CThread()
Definition:
thread.cpp:46
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
ThreadData
Definition:
drwtsn32.h:23
CThread::Terminated
BOOL Terminated()
Definition:
thread.cpp:77
CThread::hThread
HANDLE hThread
Definition:
thread.h:29
UINT
unsigned int UINT
Definition:
ndis.h:50
CThread::CThread
CThread()
Definition:
thread.cpp:27
LPCThread
CThread * LPCThread
Definition:
thread.h:32
CThread::Execute
virtual void Execute()
Definition:
thread.cpp:59
Msg
struct @1589 Msg[]
CThread::Terminate
virtual void Terminate()
Definition:
thread.cpp:71
CThread::PostMessage
BOOL PostMessage(UINT Msg, WPARAM wParam, LPARAM lParam)
Definition:
thread.cpp:65
void
Definition:
nsiface.idl:2306
CThread::dwThreadId
DWORD dwThreadId
Definition:
thread.h:28
lParam
LPARAM lParam
Definition:
combotst.c:139
modules
rosapps
applications
net
roshttpd
include
thread.h
Generated on Sat Jul 2 2022 06:06:34 for ReactOS by
1.8.15