ReactOS
0.4.16-dev-424-ge4748fe
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
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
_
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
cicfmap.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Cicero
3
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4
* PURPOSE: Cicero file mapping
5
* COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6
*/
7
8
#pragma once
9
10
#include "
cicmutex.h
"
11
12
// class CicFileMappingStatic;
13
// class CicFileMapping;
14
15
class
CicFileMappingStatic
16
{
17
protected
:
18
LPCTSTR
m_pszName
;
19
LPVOID
m_pView
;
20
HANDLE
m_hMapping
;
21
BOOL
m_bCreated
;
22
BOOL
m_bHasMutex
;
23
CicMutex
*
m_pMutex
;
24
25
LPVOID
_Map
();
26
27
public
:
28
CicFileMappingStatic
() { }
29
~CicFileMappingStatic
() { }
30
31
void
Init
(
LPCTSTR
pszName,
CicMutex
*pMutex);
32
33
LPVOID
Create
(
LPSECURITY_ATTRIBUTES
pSA,
DWORD
dwMaximumSizeLow,
LPBOOL
pbAlreadyExists);
34
LPVOID
Open
();
35
void
Close
();
36
37
BOOL
Enter
();
38
void
Leave
();
39
BOOL
Flush
(
SIZE_T
dwNumberOfBytesToFlush);
40
void
Finalize
();
41
};
42
43
class
CicFileMapping
:
public
CicFileMappingStatic
44
{
45
public
:
46
CicFileMapping
(
LPCTSTR
pszName,
CicMutex
*pMutex);
47
virtual
~CicFileMapping
() {
Finalize
(); }
48
};
Create
@ Create
Definition:
registry.c:563
cicmutex.h
CicFileMappingStatic
Definition:
cicfmap.h:16
CicFileMappingStatic::m_pView
LPVOID m_pView
Definition:
cicfmap.h:19
CicFileMappingStatic::CicFileMappingStatic
CicFileMappingStatic()
Definition:
cicfmap.h:28
CicFileMappingStatic::m_pszName
LPCTSTR m_pszName
Definition:
cicfmap.h:18
CicFileMappingStatic::Finalize
void Finalize()
Definition:
cicfmap.cpp:116
CicFileMappingStatic::m_hMapping
HANDLE m_hMapping
Definition:
cicfmap.h:20
CicFileMappingStatic::m_bHasMutex
BOOL m_bHasMutex
Definition:
cicfmap.h:22
CicFileMappingStatic::m_bCreated
BOOL m_bCreated
Definition:
cicfmap.h:21
CicFileMappingStatic::Open
LPVOID Open()
Definition:
cicfmap.cpp:73
CicFileMappingStatic::Enter
BOOL Enter()
Definition:
cicfmap.cpp:95
CicFileMappingStatic::Close
void Close()
Definition:
cicfmap.cpp:22
CicFileMappingStatic::m_pMutex
CicMutex * m_pMutex
Definition:
cicfmap.h:23
CicFileMappingStatic::Leave
void Leave()
Definition:
cicfmap.cpp:102
CicFileMappingStatic::~CicFileMappingStatic
~CicFileMappingStatic()
Definition:
cicfmap.h:29
CicFileMappingStatic::_Map
LPVOID _Map()
Definition:
cicfmap.cpp:84
CicFileMapping
Definition:
cicfmap.h:44
CicFileMapping::~CicFileMapping
virtual ~CicFileMapping()
Definition:
cicfmap.h:47
CicMutex
Definition:
cicmutex.h:13
Init
Definition:
stterm-test.cc:47
Flush
@ Flush
Definition:
fatprocs.h:1055
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
_SECURITY_ATTRIBUTES
Definition:
compat.h:191
SIZE_T
ULONG_PTR SIZE_T
Definition:
typedefs.h:80
LPBOOL
BOOL * LPBOOL
Definition:
windef.h:162
LPCTSTR
const CHAR * LPCTSTR
Definition:
xmlstorage.h:193
sdk
lib
cicero
cicfmap.h
Generated on Mon Jan 6 2025 06:15:47 for ReactOS by
1.9.6