ReactOS 0.4.16-dev-41-ge8c7597
|
#include "precomp.h"
#include <atlsimpcoll.h>
#include <dbt.h>
#include <cfgmgr32.h>
#include <shlwapi.h>
Go to the source code of this file.
Macros | |
#define | DISPLAY_NAME_LEN 40 |
Functions | |
HRESULT | EnumHotpluggedDevices (CSimpleArray< DEVINST > &devList) |
HRESULT | NotifyBalloon (CSysTray *pSysTray, LPCWSTR szTitle=NULL, LPCWSTR szInfo=NULL, UINT uId=ID_ICON_HOTPLUG) |
HRESULT STDMETHODCALLTYPE | Hotplug_Init (_In_ CSysTray *pSysTray) |
HRESULT STDMETHODCALLTYPE | Hotplug_Update (_In_ CSysTray *pSysTray) |
HRESULT STDMETHODCALLTYPE | Hotplug_Shutdown (_In_ CSysTray *pSysTray) |
static void | _RunHotplug (CSysTray *pSysTray) |
static void | _ShowContextMenu (CSysTray *pSysTray) |
static void | _ShowContextMenuR (CSysTray *pSysTray) |
VOID | HotplugDeviceTimer (_In_ CSysTray *pSysTray) |
HRESULT STDMETHODCALLTYPE | Hotplug_Message (_In_ CSysTray *pSysTray, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult) |
Variables | |
CSimpleArray< DEVINST > | g_devList |
CString | g_strHotplugTooltip |
static HICON | g_hIconHotplug = NULL |
static WCHAR | g_strMenuSel [DISPLAY_NAME_LEN] |
static BOOL | g_IsRemoving = FALSE |
#define DISPLAY_NAME_LEN 40 |
Definition at line 16 of file hotplug.cpp.
Definition at line 155 of file hotplug.cpp.
Referenced by _ShowContextMenuR(), and Hotplug_Message().
Definition at line 165 of file hotplug.cpp.
Referenced by Hotplug_Message().
Definition at line 218 of file hotplug.cpp.
Referenced by Hotplug_Message().
HRESULT EnumHotpluggedDevices | ( | CSimpleArray< DEVINST > & | devList | ) |
Definition at line 35 of file hotplug.cpp.
Referenced by Hotplug_Init(), and HotplugDeviceTimer().
HRESULT STDMETHODCALLTYPE Hotplug_Init | ( | _In_ CSysTray * | pSysTray | ) |
Definition at line 124 of file hotplug.cpp.
Referenced by Hotplug_Message().
HRESULT STDMETHODCALLTYPE Hotplug_Message | ( | _In_ CSysTray * | pSysTray, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
LRESULT & | lResult | ||
) |
Definition at line 258 of file hotplug.cpp.
HRESULT STDMETHODCALLTYPE Hotplug_Shutdown | ( | _In_ CSysTray * | pSysTray | ) |
HRESULT STDMETHODCALLTYPE Hotplug_Update | ( | _In_ CSysTray * | pSysTray | ) |
Definition at line 139 of file hotplug.cpp.
Definition at line 244 of file hotplug.cpp.
Referenced by Hotplug_Message().
HRESULT NotifyBalloon | ( | CSysTray * | pSysTray, |
LPCWSTR | szTitle = NULL , |
||
LPCWSTR | szInfo = NULL , |
||
UINT | uId = ID_ICON_HOTPLUG |
||
) |
Definition at line 94 of file hotplug.cpp.
Referenced by Hotplug_Message().
CSimpleArray<DEVINST> g_devList |
Definition at line 18 of file hotplug.cpp.
Referenced by _ShowContextMenu(), Hotplug_Init(), and HotplugDeviceTimer().
Definition at line 20 of file hotplug.cpp.
Referenced by Hotplug_Init(), Hotplug_Shutdown(), and HotplugDeviceTimer().
Definition at line 22 of file hotplug.cpp.
Referenced by _ShowContextMenu(), and NotifyBalloon().
CString g_strHotplugTooltip |
Definition at line 19 of file hotplug.cpp.
Referenced by Hotplug_Init(), and HotplugDeviceTimer().
|
static |
Definition at line 21 of file hotplug.cpp.
Referenced by _ShowContextMenu(), and Hotplug_Message().