ReactOS  0.4.13-dev-455-g28ed234
Node.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define DISPLAY_NAME_LEN 256
4 
5 enum NodeType
6 {
10 };
11 
12 class CNode
13 {
14 protected:
21 
22 public:
23  CNode(
26  );
27 
28  CNode(
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 
CNode(_In_ NodeType Type, _In_ PSP_CLASSIMAGELIST_DATA ImageListData)
Definition: Node.cpp:17
Type
Definition: Type.h:6
#define DISPLAY_NAME_LEN
Definition: Node.h:3
virtual ~CNode()
Definition: Node.cpp:39
LPWSTR GetDisplayName()
Definition: Node.h:38
LPWSTR m_DeviceId
Definition: Node.h:17
int32_t INT
Definition: typedefs.h:56
INT m_ClassImage
Definition: Node.h:20
NodeType GetNodeType()
Definition: Node.h:36
smooth NULL
Definition: ftsmooth.c:416
Definition: Node.h:7
NodeType
Definition: Node.h:5
Definition: Node.h:12
Definition: Node.h:8
LPGUID GetClassGuid()
Definition: Node.h:37
__wchar_t WCHAR
Definition: xmlstorage.h:180
NodeType m_NodeType
Definition: Node.h:15
GUID m_ClassGuid
Definition: Node.h:19
Definition: Node.h:9
PSP_CLASSIMAGELIST_DATA m_ImageListData
Definition: Node.h:16
LPWSTR GetDeviceId()
Definition: Node.h:40
#define _In_
Definition: no_sal2.h:204
virtual bool SetupNode()=0
INT GetClassImage()
Definition: Node.h:39
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:18
WCHAR * LPWSTR
Definition: xmlstorage.h:184
bool HasProperties()
Definition: Node.h:41
SP_CLASSIMAGELIST_DATA ImageListData
Definition: hdwwiz.c:34
Definition: dlist.c:348