ReactOS 0.4.16-dev-1537-g4e425b5
Node.h
Go to the documentation of this file.
1#pragma once
2
3#define DISPLAY_NAME_LEN 256
4
6{
12};
13
14class CNode
15{
16protected:
23
24public:
25 CNode(
28 );
29
31 _In_ const CNode& Node
32 );
33
34 virtual ~CNode();
35
36 virtual bool SetupNode() = 0;
37
43 bool HasProperties() { return (m_DeviceId != NULL); }
44};
45
#define DISPLAY_NAME_LEN
Definition: Node.h:3
NodeType
Definition: Node.h:6
@ ClassNode
Definition: Node.h:8
@ RootNode
Definition: Node.h:7
@ DeviceNode
Definition: Node.h:9
@ ResourceNode
Definition: Node.h:10
@ ResourceTypeNode
Definition: Node.h:11
Type
Definition: Type.h:7
Definition: Node.h:15
LPGUID GetClassGuid()
Definition: Node.h:39
virtual bool SetupNode()=0
INT GetClassImage()
Definition: Node.h:41
LPWSTR m_DeviceId
Definition: Node.h:19
bool HasProperties()
Definition: Node.h:43
CNode(_In_ const CNode &Node)
LPWSTR GetDeviceId()
Definition: Node.h:42
LPWSTR GetDisplayName()
Definition: Node.h:40
INT m_ClassImage
Definition: Node.h:22
PSP_CLASSIMAGELIST_DATA m_ImageListData
Definition: Node.h:18
NodeType m_NodeType
Definition: Node.h:17
NodeType GetNodeType()
Definition: Node.h:38
GUID m_ClassGuid
Definition: Node.h:21
virtual ~CNode()
Definition: Node.cpp:39
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:20
#define NULL
Definition: types.h:112
SP_CLASSIMAGELIST_DATA ImageListData
Definition: hdwwiz.c:34
#define _In_
Definition: no_sal2.h:158
int32_t INT
Definition: typedefs.h:58
Definition: dlist.c:348
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184