2 #include "DeviceView.h"
4 typedef struct _MENU_HINT
8 } MENU_HINT
, *PMENU_HINT
;
12 CAtlStringW m_szMainWndClass
;
13 CDeviceView
*m_DeviceView
;
17 HIMAGELIST m_ToolbarhImageList
;
25 bool Initialize(LPCTSTR lpCaption
, int nCmdShow
);
30 static LRESULT CALLBACK
MainWndProc(
37 LRESULT
OnCreate(HWND hwnd
);
40 LRESULT
OnNotify(LPARAM lParam
);
41 LRESULT
OnContext(LPARAM lParam
);
42 LRESULT
OnCommand(WPARAM wParam
, LPARAM lParam
);
45 bool CreateStatusBar();
47 void UpdateContext(_In_ LPTV_ITEMW TvItem
);
49 bool StatusBarLoadString(
58 const MENU_HINT
*HintArray
,
67 bool ScanForHardwareChanges(