2b0ad42ba6238ef46665805fd414099a73df05d5
[reactos.git] / reactos / dll / win32 / devmgr / devmgmt / DeviceNode.h
1 #pragma once
2 #include "Node.h"
3
4 class CDeviceNode : public CNode
5 {
6 private:
7 DEVINST m_DevInst;
8 ULONG m_Status;
9 ULONG m_ProblemNumber;
10 int m_OverlayImage;
11
12 public:
13 CDeviceNode(
14 _In_opt_ DEVINST Device,
15 _In_ PSP_CLASSIMAGELIST_DATA ImageListData
16 );
17
18 ~CDeviceNode();
19
20 virtual bool SetupNode();
21
22 DEVINST GetDeviceInst() { return m_DevInst; }
23 int GetOverlayImage() { return m_OverlayImage; }
24
25 bool HasProblem() { return !!(m_ProblemNumber); }
26 bool IsHidden();
27 bool CanDisable();
28 bool IsDisabled();
29 bool IsStarted();
30 bool IsInstalled();
31 bool CanInstall() { return TRUE; } // unimplemented
32 bool CanUninstall() { return TRUE; } // unimplemented
33 };
34