ReactOS  0.4.14-dev-358-gbef841c
MainWindow.cpp File Reference
#include "precomp.h"
#include "devmgmt.h"
#include "MainWindow.h"
Include dependency graph for MainWindow.cpp:

Go to the source code of this file.

Macros

#define BTN_PROPERTIES   0
 
#define BTN_SCAN_HARDWARE   1
 
#define BTN_ENABLE_DRV   2
 
#define BTN_DISABLE_DRV   3
 
#define BTN_UPDATE_DRV   4
 
#define BTN_UNINSTALL_DRV   5
 
#define REFRESH_TIMER   1
 

Variables

HINSTANCE g_hThisInstance = NULL
 
HINSTANCE g_hParentInstance = NULL
 
static const MENU_HINT MainMenuHintTable []
 
static const MENU_HINT SystemMenuHintTable []
 
static TBBUTTON TbButtons []
 

Macro Definition Documentation

◆ BTN_DISABLE_DRV

#define BTN_DISABLE_DRV   3

Definition at line 20 of file MainWindow.cpp.

◆ BTN_ENABLE_DRV

#define BTN_ENABLE_DRV   2

Definition at line 19 of file MainWindow.cpp.

◆ BTN_PROPERTIES

#define BTN_PROPERTIES   0

Definition at line 17 of file MainWindow.cpp.

◆ BTN_SCAN_HARDWARE

#define BTN_SCAN_HARDWARE   1

Definition at line 18 of file MainWindow.cpp.

◆ BTN_UNINSTALL_DRV

#define BTN_UNINSTALL_DRV   5

Definition at line 22 of file MainWindow.cpp.

◆ BTN_UPDATE_DRV

#define BTN_UPDATE_DRV   4

Definition at line 21 of file MainWindow.cpp.

◆ REFRESH_TIMER

#define REFRESH_TIMER   1

Definition at line 24 of file MainWindow.cpp.

Variable Documentation

◆ g_hParentInstance

HINSTANCE g_hParentInstance = NULL

Definition at line 27 of file MainWindow.cpp.

Referenced by CDeviceManager::Create().

◆ g_hThisInstance

◆ MainMenuHintTable

const MENU_HINT MainMenuHintTable[]
static
Initial value:
=
{
}
#define IDS_HINT_ADD
Definition: resource.h:73
#define IDS_HINT_EXIT
Definition: resource.h:96
#define IDS_HINT_ABOUT
Definition: resource.h:117
#define IDM_UPDATE_DRV
Definition: resource.h:25
#define IDM_ABOUT
Definition: resource.h:29
#define IDM_DEVBYTYPE
Definition: resource.h:36
#define IDS_HINT_ENABLE
Definition: resource.h:69
#define IDM_UNINSTALL_DRV
Definition: resource.h:26
#define IDM_RESBYTYPE
Definition: resource.h:38
#define IDM_DEVBYCONN
Definition: resource.h:37
#define IDS_HINT_SHOW_HIDDEN
Definition: resource.h:81
#define IDS_HINT_UNINSTALL
Definition: resource.h:72
#define IDM_RESBYCONN
Definition: resource.h:39
#define IDS_HINT_SCAN
Definition: resource.h:68
#define IDS_HINT_UPDATE
Definition: resource.h:71
#define IDS_HINT_RES_BY_TYPE
Definition: resource.h:79
#define IDM_ADD_HARDWARE
Definition: resource.h:27
#define IDS_HINT_DEV_BY_CONN
Definition: resource.h:78
#define IDM_PROPERTIES
Definition: resources.h:9
#define IDM_SCAN_HARDWARE
Definition: resource.h:22
#define IDS_HINT_DISABLE
Definition: resource.h:70
#define IDM_DISABLE_DRV
Definition: resource.h:24
#define IDM_EXIT
Definition: resource.h:27
#define IDM_SHOWHIDDEN
Definition: resource.h:40
#define IDS_HINT_DEV_BY_TYPE
Definition: resource.h:77
#define IDM_ENABLE_DRV
Definition: resource.h:23
#define IDS_HINT_PROPERTIES
Definition: resource.h:67

Definition at line 30 of file MainWindow.cpp.

Referenced by CDeviceManager::MainWndProc().

◆ SystemMenuHintTable

const MENU_HINT SystemMenuHintTable[]
static
Initial value:
=
{
}
#define SC_RESTORE
Definition: winuser.h:2573
#define IDS_HINT_SYS_MINIMIZE
Definition: resource.h:123
#define SC_MAXIMIZE
Definition: winuser.h:2563
#define IDS_HINT_SYS_MOVE
Definition: resource.h:121
#define IDS_HINT_SYS_RESTORE
Definition: resource.h:120
#define IDS_HINT_SYS_SIZE
Definition: resource.h:122
#define SC_MINIMIZE
Definition: winuser.h:2561
#define SC_SIZE
Definition: winuser.h:2559
#define IDS_HINT_SYS_MAXIMIZE
Definition: resource.h:124
#define SC_MOVE
Definition: winuser.h:2560
#define SC_CLOSE
Definition: winuser.h:2567
#define IDS_HINT_SYS_CLOSE
Definition: resource.h:125

Definition at line 57 of file MainWindow.cpp.

Referenced by CDeviceManager::MainWndProc().

◆ TbButtons

TBBUTTON TbButtons[]
static
Initial value:
=
{
{ 2, IDC_STATIC, TBSTATE_ENABLED, BTNS_SEP, {0}, 0, 0 },
}
#define IDM_UPDATE_DRV
Definition: resource.h:25
#define BTN_DISABLE_DRV
Definition: MainWindow.cpp:20
#define BTN_UPDATE_DRV
Definition: MainWindow.cpp:21
#define BTNS_BUTTON
Definition: commctrl.h:994
#define IDM_UNINSTALL_DRV
Definition: resource.h:26
#define BTNS_SEP
Definition: commctrl.h:995
#define IDC_STATIC
Definition: resource.h:4
#define BTN_PROPERTIES
Definition: MainWindow.cpp:17
#define BTN_SCAN_HARDWARE
Definition: MainWindow.cpp:18
#define IDM_PROPERTIES
Definition: resources.h:9
#define BTN_UNINSTALL_DRV
Definition: MainWindow.cpp:22
#define IDM_SCAN_HARDWARE
Definition: resource.h:22
#define IDM_DISABLE_DRV
Definition: resource.h:24
#define TBSTATE_ENABLED
Definition: commctrl.h:970
#define BTN_ENABLE_DRV
Definition: MainWindow.cpp:19
#define IDM_ENABLE_DRV
Definition: resource.h:23

Definition at line 67 of file MainWindow.cpp.

Referenced by CDeviceManager::CreateToolBar().