ReactOS 0.4.15-dev-8636-g945e856
|
#include <DeviceNode.h>
Public Member Functions | |
CDeviceNode (_In_opt_ DEVINST Device, _In_ PSP_CLASSIMAGELIST_DATA ImageListData) | |
~CDeviceNode () | |
CDeviceNode (_In_ const CDeviceNode &Node) | |
virtual bool | SetupNode () |
DEVINST | GetDeviceInst () |
int | GetOverlayImage () |
bool | HasProblem () |
bool | IsHidden () |
bool | CanDisable () |
virtual bool | IsDisabled () |
bool | IsStarted () |
bool | IsInstalled () |
bool | CanUninstall () |
virtual bool | CanUpdate () |
bool | EnableDevice (_In_ bool Enable, _Out_ bool &NeedsReboot) |
bool | UninstallDevice () |
Public Member Functions inherited from CNode | |
CNode (_In_ NodeType Type, _In_ PSP_CLASSIMAGELIST_DATA ImageListData) | |
CNode (_In_ const CNode &Node) | |
virtual | ~CNode () |
virtual bool | SetupNode ()=0 |
NodeType | GetNodeType () |
LPGUID | GetClassGuid () |
LPWSTR | GetDisplayName () |
INT | GetClassImage () |
LPWSTR | GetDeviceId () |
bool | HasProperties () |
Private Member Functions | |
void | Cleanup () |
bool | SetFlags (_In_ DWORD Flags, _In_ DWORD FlagsEx) |
bool | RemoveFlags (_In_ DWORD Flags, _In_ DWORD FlagsEx) |
DWORD | GetFlags () |
Private Attributes | |
SP_DEVINFO_DATA | m_DevinfoData |
DEVINST | m_DevInst |
HDEVINFO | m_hDevInfo |
ULONG | m_Status |
ULONG | m_ProblemNumber |
int | m_OverlayImage |
Additional Inherited Members | |
Protected Attributes inherited from CNode | |
NodeType | m_NodeType |
PSP_CLASSIMAGELIST_DATA | m_ImageListData |
LPWSTR | m_DeviceId |
WCHAR | m_DisplayName [DISPLAY_NAME_LEN] |
GUID | m_ClassGuid |
INT | m_ClassImage |
Definition at line 11 of file DeviceNode.h.
CDeviceNode::CDeviceNode | ( | _In_opt_ DEVINST | Device, |
_In_ PSP_CLASSIMAGELIST_DATA | ImageListData | ||
) |
Definition at line 15 of file DeviceNode.cpp.
CDeviceNode::~CDeviceNode | ( | ) |
Definition at line 46 of file DeviceNode.cpp.
CDeviceNode::CDeviceNode | ( | _In_ const CDeviceNode & | Node | ) |
Definition at line 29 of file DeviceNode.cpp.
bool CDeviceNode::CanDisable | ( | ) |
Definition at line 202 of file DeviceNode.cpp.
Referenced by CDeviceManager::UpdateToolbar().
bool CDeviceNode::CanUninstall | ( | ) |
Definition at line 271 of file DeviceNode.cpp.
Referenced by UninstallDevice().
|
inlinevirtual |
Definition at line 46 of file DeviceNode.h.
|
private |
Definition at line 400 of file DeviceNode.cpp.
Referenced by ~CDeviceNode().
Definition at line 290 of file DeviceNode.cpp.
|
inline |
Definition at line 36 of file DeviceNode.h.
|
private |
Definition at line 415 of file DeviceNode.cpp.
Referenced by EnableDevice().
|
inline |
Definition at line 37 of file DeviceNode.h.
bool CDeviceNode::HasProblem | ( | ) |
Definition at line 163 of file DeviceNode.cpp.
Referenced by SetupNode().
|
virtual |
Definition at line 219 of file DeviceNode.cpp.
Referenced by SetupNode(), and CDeviceManager::UpdateToolbar().
bool CDeviceNode::IsHidden | ( | ) |
Definition at line 180 of file DeviceNode.cpp.
bool CDeviceNode::IsInstalled | ( | ) |
Definition at line 253 of file DeviceNode.cpp.
bool CDeviceNode::IsStarted | ( | ) |
Definition at line 236 of file DeviceNode.cpp.
Definition at line 450 of file DeviceNode.cpp.
Referenced by EnableDevice().
Definition at line 429 of file DeviceNode.cpp.
Referenced by EnableDevice().
|
virtual |
Implements CNode.
Definition at line 52 of file DeviceNode.cpp.
bool CDeviceNode::UninstallDevice | ( | ) |
Definition at line 365 of file DeviceNode.cpp.
|
private |
Definition at line 14 of file DeviceNode.h.
Referenced by CDeviceNode(), EnableDevice(), GetFlags(), RemoveFlags(), SetFlags(), SetupNode(), and UninstallDevice().
|
private |
Definition at line 15 of file DeviceNode.h.
Referenced by CanDisable(), CanUninstall(), CDeviceNode(), GetDeviceInst(), HasProblem(), IsDisabled(), IsHidden(), IsInstalled(), IsStarted(), and SetupNode().
|
private |
Definition at line 16 of file DeviceNode.h.
Referenced by CDeviceNode(), Cleanup(), EnableDevice(), GetFlags(), RemoveFlags(), SetFlags(), SetupNode(), and UninstallDevice().
|
private |
Definition at line 20 of file DeviceNode.h.
Referenced by CDeviceNode(), GetOverlayImage(), and SetupNode().
|
private |
Definition at line 19 of file DeviceNode.h.
Referenced by CanDisable(), CanUninstall(), CDeviceNode(), HasProblem(), IsDisabled(), IsHidden(), IsInstalled(), and IsStarted().
|
private |
Definition at line 18 of file DeviceNode.h.
Referenced by CanDisable(), CanUninstall(), CDeviceNode(), HasProblem(), IsDisabled(), IsHidden(), IsInstalled(), and IsStarted().