ReactOS
0.4.16-dev-1541-g7e1d9ef
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
ResourceTypeNode.cpp
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Device Manager
3
* LICENSE: GPL - See COPYING in the top level directory
4
* FILE: dll/win32/devmgr/devmgmt/ResourceTypeNode.cpp
5
* PURPOSE: Class object for
6
* COPYRIGHT: Copyright 2025 Eric Kohl <ekohl@reactos.org>
7
*
8
*/
9
10
#include "precomp.h"
11
#include "
devmgmt.h
"
12
#include "
ResourceTypeNode.h
"
13
14
15
CResourceTypeNode::CResourceTypeNode
(
16
_In_
UINT
ResId,
17
_In_
PSP_CLASSIMAGELIST_DATA
ImageListData
18
) :
19
CNode
(
ResourceTypeNode
,
ImageListData
)
20
{
21
CAtlStringW
str
;
22
if
(
str
.LoadStringW(
g_hThisInstance
, ResId))
23
StringCchCopyW
(
m_DisplayName
,
MAX_PATH
,
str
.GetBuffer());
24
}
25
26
27
CResourceTypeNode::~CResourceTypeNode
()
28
{
29
}
30
31
32
bool
33
CResourceTypeNode::SetupNode
()
34
{
35
return
true
;
36
}
ResourceTypeNode
@ ResourceTypeNode
Definition:
Node.h:11
ResourceTypeNode.h
CNode
Definition:
Node.h:15
CNode::m_DisplayName
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition:
Node.h:20
CResourceTypeNode::CResourceTypeNode
CResourceTypeNode(_In_ UINT ResId, _In_ PSP_CLASSIMAGELIST_DATA ImageListData)
Definition:
ResourceTypeNode.cpp:15
CResourceTypeNode::~CResourceTypeNode
~CResourceTypeNode()
Definition:
ResourceTypeNode.cpp:27
CResourceTypeNode::SetupNode
virtual bool SetupNode()
Definition:
ResourceTypeNode.cpp:33
devmgmt.h
g_hThisInstance
HINSTANCE g_hThisInstance
Definition:
MainWindow.cpp:25
MAX_PATH
#define MAX_PATH
Definition:
compat.h:34
ImageListData
SP_CLASSIMAGELIST_DATA ImageListData
Definition:
hdwwiz.c:34
UINT
unsigned int UINT
Definition:
ndis.h:50
_In_
#define _In_
Definition:
no_sal2.h:158
str
const WCHAR * str
Definition:
rpc_transport.c:2724
StringCchCopyW
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
Definition:
strsafe.h:149
_SP_CLASSIMAGELIST_DATA
Definition:
setupapi.h:1096
dll
win32
devmgr
devmgmt
ResourceTypeNode.cpp
Generated on Sun Jul 27 2025 06:04:07 for ReactOS by
1.9.6