12 class CDeviceView
: public CDevices
17 HWND m_hPropertyDialog
;
18 HMENU m_hShortcutMenu
;
19 ListDevices m_ListDevices
;
21 HIMAGELIST m_ImageList
;
22 HTREEITEM m_hTreeRoot
;
37 VOID
EnableContextMenuItem(
55 VOID
DisplayPropertySheet();
58 BOOL
IsRootItemSelected();
68 VOID
SetDeviceListType(ListDevices List
)
73 ListDevices
GetDeviceListType()
78 VOID
ShowHiddenDevices(_In_ BOOL ShowHidden
)
80 m_ShowHidden
= ShowHidden
;
84 static unsigned int __stdcall
ListDevicesThread(
88 BOOL
ListDevicesByConnection(
90 BOOL
ListDevicesByType(
93 VOID
RecurseChildDevices(
94 _In_ DEVINST ParentDevice
,
95 _In_ HTREEITEM hParentTreeItem
98 HTREEITEM
InsertIntoTreeView(
99 _In_ HTREEITEM hParent
,
100 _In_z_ LPWSTR lpLabel
,
103 _In_ UINT OverlayImage
106 VOID
RecurseDeviceView(
107 _In_ HTREEITEM hParentItem
110 VOID
EmptyDeviceView(