Loading [MathJax]/jax/output/HTML-CSS/config.js
ROOT
6.14/05
Reference Guide
ROOT Home
Main Page
Tutorials
Functional Parts
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
u
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
core
winnt
src
TWin32SplashThread.cxx
Go to the documentation of this file.
1
2
/*************************************************************************
3
* Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
4
* All rights reserved. *
5
* *
6
* For the licensing terms see $ROOTSYS/LICENSE. *
7
* For the list of contributors see $ROOTSYS/README/CREDITS. *
8
*************************************************************************/
9
10
#include "
Windows4Root.h
"
11
#include "
TWin32SplashThread.h
"
12
13
TWin32SplashThread
*
gSplash
= 0;
14
15
extern
void
CreateSplash
(DWORD time,
bool
extended);
16
extern
void
DestroySplashScreen
();
17
18
////////////////////////////////////////////////////////////////////////////////
19
/// thread for handling Splash Screen
20
21
static
DWORD WINAPI
HandleSplashThread
(LPVOID extended)
22
{
23
CreateSplash
(4, (
Bool_t
)extended);
24
if
(gSplash)
delete
gSplash
;
25
gSplash = 0;
26
return
0;
27
}
28
29
////////////////////////////////////////////////////////////////////////////////
30
/// ctor.
31
32
TWin32SplashThread::TWin32SplashThread
(
Bool_t
extended)
33
{
34
fHandle
= 0;
35
DWORD splashId = 0;
36
fHandle
= ::CreateThread( NULL, 0,&
HandleSplashThread
, (LPVOID)extended, 0, &splashId );
37
gSplash =
this
;
38
}
39
40
////////////////////////////////////////////////////////////////////////////////
41
/// dtor
42
43
TWin32SplashThread::~TWin32SplashThread
()
44
{
45
DestroySplashScreen
();
46
TerminateThread(
fHandle
, 0);
47
if
(
fHandle
) ::CloseHandle(
fHandle
);
48
fHandle
= 0;
49
}
50
TWin32SplashThread::TWin32SplashThread
TWin32SplashThread(Bool_t extended)
ctor.
Definition:
TWin32SplashThread.cxx:32
gSplash
TWin32SplashThread * gSplash
Definition:
TWin32SplashThread.cxx:13
TWin32SplashThread
Definition:
TWin32SplashThread.h:18
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TWin32SplashThread::fHandle
void * fHandle
Definition:
TWin32SplashThread.h:20
DestroySplashScreen
void DestroySplashScreen()
CreateSplash
void CreateSplash(DWORD time, bool extended)
Windows4Root.h
TWin32SplashThread.h
TWin32SplashThread::~TWin32SplashThread
~TWin32SplashThread()
dtor
Definition:
TWin32SplashThread.cxx:43
HandleSplashThread
static DWORD WINAPI HandleSplashThread(LPVOID extended)
thread for handling Splash Screen
Definition:
TWin32SplashThread.cxx:21