ReactOS
0.4.16-dev-963-g182f353
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
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
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File 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
q
r
s
t
u
v
w
x
y
z
Enumerations
_
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
Enumerator
_
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
Macros
_
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
Examples
initterm.cpp
Go to the documentation of this file.
1
//
2
// initterm.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// _initterm and _initterm_e functions used during dynamic initialization.
7
//
8
#include <
corecrt_internal.h
>
9
10
11
12
// Calls each function in [first, last). [first, last) must be a valid range of
13
// function pointers. Each function is called, in order.
14
extern
"C"
void
__cdecl
_initterm
(
_PVFV
*
const
first
,
_PVFV
*
const
last
)
15
{
16
for
(
_PVFV
* it =
first
; it !=
last
; ++it)
17
{
18
if
(*it ==
nullptr
)
19
continue
;
20
21
(**it)();
22
}
23
}
24
25
// Calls each function in [first, last). [first, last) must be a valid range of
26
// function pointers. Each function must return zero on success, nonzero on
27
// failure. If any function returns nonzero, iteration stops immediately and
28
// the nonzero value is returned. Otherwise all functions are called and zero
29
// is returned.
30
//
31
// If a nonzero value is returned, it is expected to be one of the runtime error
32
// values (_RT_{NAME}, defined in the internal header files).
33
extern
"C"
int
__cdecl
_initterm_e
(
_PIFV
*
const
first
,
_PIFV
*
const
last
)
34
{
35
for
(
_PIFV
* it =
first
; it !=
last
; ++it)
36
{
37
if
(*it ==
nullptr
)
38
continue
;
39
40
int
const
result
= (**it)();
41
if
(
result
!= 0)
42
return
result
;
43
}
44
45
return
0;
46
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal.h
_PIFV
int(__cdecl * _PIFV)(void)
Definition:
corecrt_startup.h:113
_PVFV
void(__cdecl * _PVFV)(void)
Definition:
corecrt_startup.h:112
first
const GLint * first
Definition:
glext.h:5794
result
GLuint64EXT * result
Definition:
glext.h:11304
_initterm
void __cdecl _initterm(_PVFV *const first, _PVFV *const last)
Definition:
initterm.cpp:14
_initterm_e
int __cdecl _initterm_e(_PIFV *const first, _PIFV *const last)
Definition:
initterm.cpp:33
last
static UINT UINT last
Definition:
font.c:45
sdk
lib
ucrt
startup
initterm.cpp
Generated on Mon Apr 7 2025 06:16:56 for ReactOS by
1.9.6