ROOT
Version v6.34
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
▼
core
►
base
►
clingutils
►
cont
►
dictgen
►
foundation
►
gui
►
imt
►
macosx
►
meta
►
metacling
►
multiproc
►
rint
►
testsupport
►
thread
►
unix
▼
winnt
►
inc
▼
src
►
TWin32SplashThread.cxx
►
TWinNTSystem.cxx
Win32Splash.cxx
►
zip
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
Bool_t
bool Bool_t
Definition
RtypesCore.h:63
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
HandleSplashThread
static DWORD WINAPI HandleSplashThread(LPVOID extended)
thread for handling Splash Screen
Definition
TWin32SplashThread.cxx:21
DestroySplashScreen
void DestroySplashScreen()
CreateSplash
void CreateSplash(DWORD time, bool extended)
gSplash
TWin32SplashThread * gSplash
Definition
TWin32SplashThread.cxx:13
TWin32SplashThread.h
gSplash
R__EXTERN TWin32SplashThread * gSplash
Definition
TWin32SplashThread.h:26
Windows4Root.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TWin32SplashThread
Definition
TWin32SplashThread.h:18
TWin32SplashThread::~TWin32SplashThread
~TWin32SplashThread()
dtor
Definition
TWin32SplashThread.cxx:43
TWin32SplashThread::TWin32SplashThread
TWin32SplashThread(Bool_t extended)
ctor.
Definition
TWin32SplashThread.cxx:32
TWin32SplashThread::fHandle
void * fHandle
Definition
TWin32SplashThread.h:20
bool
core
winnt
src
TWin32SplashThread.cxx
ROOT tags/6-34-04 - Reference Guide Generated on Sun Feb 16 2025 05:10:04 (GVA Time) using Doxygen 1.10.0