ReactOS
0.4.16-dev-433-g6363f78
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
regfs.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004 Martin Fuchs
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
20
//
21
// Explorer clone
22
//
23
// regfs.h
24
//
25
// Martin Fuchs, 31.01.2004
26
//
27
28
30
struct
RegEntry
:
public
Entry
31
{
32
RegEntry
(
Entry
*
parent
) :
Entry
(
parent
,
ET_REGISTRY
) {}
33
34
protected
:
35
RegEntry
() :
Entry
(
ET_REGISTRY
) {}
36
37
virtual
bool
get_path
(
PTSTR
path
,
size_t
path_count)
const
;
38
virtual
BOOL
launch_entry
(
HWND
hwnd
,
UINT
nCmdShow);
39
};
40
41
43
struct
RegDirectory
:
public
RegEntry
,
public
Directory
44
{
45
RegDirectory
(
Entry
*
parent
,
LPCTSTR
path
,
HKEY
hKeyRoot);
46
47
~RegDirectory
()
48
{
49
free
(
_path
);
50
_path
=
NULL
;
51
}
52
53
virtual
void
read_directory
(
int
scan_flags=0);
54
virtual
const
void
*
get_next_path_component
(
const
void
*)
const
;
55
virtual
Entry
*
find_entry
(
const
void
*);
56
57
protected
:
58
HKEY
_hKeyRoot
;
59
};
60
61
63
struct
RegistryRoot
:
public
RegEntry
,
public
Directory
64
{
65
RegistryRoot
()
66
{
67
}
68
69
RegistryRoot
(
Entry
*
parent
,
LPCTSTR
path
)
70
:
RegEntry
(
parent
)
71
{
72
_path
=
_tcsdup
(
path
);
73
}
74
75
~RegistryRoot
()
76
{
77
free
(
_path
);
78
_path
=
NULL
;
79
}
80
81
virtual
void
read_directory
(
int
scan_flags=0);
82
};
free
#define free
Definition:
debug_ros.c:5
NULL
#define NULL
Definition:
types.h:112
parent
r parent
Definition:
btrfs.c:3010
ET_REGISTRY
@ ET_REGISTRY
Definition:
entries.h:39
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
_tcsdup
#define _tcsdup
Definition:
tchar.h:625
void
Definition:
nsiface.idl:2307
UINT
unsigned int UINT
Definition:
ndis.h:50
Directory
base for all directory entries
Definition:
entries.h:138
Directory::_path
void * _path
Definition:
entries.h:143
Entry
base of all file and directory entries
Definition:
entries.h:83
RegDirectory
Registry key entry.
Definition:
regfs.h:44
RegDirectory::_hKeyRoot
HKEY _hKeyRoot
Definition:
regfs.h:58
RegDirectory::find_entry
virtual Entry * find_entry(const void *)
Definition:
regfs.cpp:200
RegDirectory::read_directory
virtual void read_directory(int scan_flags=0)
Definition:
regfs.cpp:34
RegDirectory::get_next_path_component
virtual const void * get_next_path_component(const void *) const
Definition:
regfs.cpp:183
RegDirectory::~RegDirectory
~RegDirectory()
Definition:
regfs.h:47
RegEntry
Registry entry.
Definition:
regfs.h:31
RegEntry::RegEntry
RegEntry(Entry *parent)
Definition:
regfs.h:32
RegEntry::RegEntry
RegEntry()
Definition:
regfs.h:35
RegEntry::get_path
virtual bool get_path(PTSTR path, size_t path_count) const
Definition:
regfs.cpp:227
RegEntry::launch_entry
virtual BOOL launch_entry(HWND hwnd, UINT nCmdShow)
Definition:
regfs.cpp:232
RegistryRoot
Registry key entry.
Definition:
regfs.h:64
RegistryRoot::~RegistryRoot
~RegistryRoot()
Definition:
regfs.h:75
RegistryRoot::RegistryRoot
RegistryRoot()
Definition:
regfs.h:65
RegistryRoot::RegistryRoot
RegistryRoot(Entry *parent, LPCTSTR path)
Definition:
regfs.h:69
RegistryRoot::read_directory
virtual void read_directory(int scan_flags=0)
Definition:
regfs.cpp:249
path
Definition:
wbemprox_private.h:188
hwnd
_In_ LONG _In_ HWND hwnd
Definition:
winddi.h:4023
PTSTR
CHAR * PTSTR
Definition:
xmlstorage.h:191
LPCTSTR
const CHAR * LPCTSTR
Definition:
xmlstorage.h:193
modules
rosapps
applications
explorer-old
shell
regfs.h
Generated on Tue Jan 7 2025 06:10:56 for ReactOS by
1.9.6