ReactOS 0.4.15-dev-7788-g1ad9096
Node.h
Go to the documentation of this file.
1#pragma once
2
3#define DISPLAY_NAME_LEN 256
4
6{
10};
11
12class CNode
13{
14protected:
21
22public:
23 CNode(
26 );
27
29 _In_ const CNode& Node
30 );
31
32 virtual ~CNode();
33
34 virtual bool SetupNode() = 0;
35
41 bool HasProperties() { return (m_DeviceId != NULL); }
42};
43
#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
Type
Definition: Type.h:7
Definition: Node.h:13
LPGUID GetClassGuid()
Definition: Node.h:37
virtual bool SetupNode()=0
INT GetClassImage()
Definition: Node.h:39
LPWSTR m_DeviceId
Definition: Node.h:17
bool HasProperties()
Definition: Node.h:41
CNode(_In_ const CNode &Node)
LPWSTR GetDeviceId()
Definition: Node.h:40
LPWSTR GetDisplayName()
Definition: Node.h:38
INT m_ClassImage
Definition: Node.h:20
PSP_CLASSIMAGELIST_DATA m_ImageListData
Definition: Node.h:16
NodeType m_NodeType
Definition: Node.h:15
NodeType GetNodeType()
Definition: Node.h:36
GUID m_ClassGuid
Definition: Node.h:19
virtual ~CNode()
Definition: Node.cpp:39
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:18
#define NULL
Definition: types.h:112
SP_CLASSIMAGELIST_DATA ImageListData
Definition: hdwwiz.c:34
#define _In_
Definition: ms_sal.h:308
int32_t INT
Definition: typedefs.h:58
Definition: dlist.c:348
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184