ReactOS  0.4.13-dev-540-g8f04a09
dxdiag.c File Reference
#include "precomp.h"
Include dependency graph for dxdiag.c:

Go to the source code of this file.

Macros

#define ETDT_DISABLE   0x00000001
 
#define ETDT_ENABLE   0x00000002
 
#define ETDT_USETABTEXTURE   0x00000004
 
#define ETDT_ENABLETAB   (ETDT_ENABLE | ETDT_USETABTEXTURE)
 

Typedefs

typedef HRESULT(WINAPIETDTProc) (HWND, DWORD)
 

Functions

BOOL EnableDialogTheme (HWND hwnd)
 
VOID DestroyTabCtrlDialogs (PDXDIAG_CONTEXT pContext)
 
VOID InsertTabCtrlItem (HWND hDlgCtrl, INT Position, LPWSTR uId)
 
VOID TabCtrl_OnSelChange (PDXDIAG_CONTEXT pContext)
 
VOID InitializeTabCtrl (HWND hwndDlg, PDXDIAG_CONTEXT pContext)
 
VOID InitializeDxDiagDialog (HWND hwndDlg)
 
INT_PTR CALLBACK DxDiagWndProc (HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
int APIENTRY wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
 

Variables

HINSTANCE hInst = 0
 
HWND hTabCtrlWnd
 

Macro Definition Documentation

◆ ETDT_DISABLE

#define ETDT_DISABLE   0x00000001

Definition at line 27 of file dxdiag.c.

◆ ETDT_ENABLE

#define ETDT_ENABLE   0x00000002

Definition at line 28 of file dxdiag.c.

◆ ETDT_ENABLETAB

#define ETDT_ENABLETAB   (ETDT_ENABLE | ETDT_USETABTEXTURE)

Definition at line 30 of file dxdiag.c.

◆ ETDT_USETABTEXTURE

#define ETDT_USETABTEXTURE   0x00000004

Definition at line 29 of file dxdiag.c.

Typedef Documentation

◆ ETDTProc

typedef HRESULT(WINAPI * ETDTProc) (HWND, DWORD)

Definition at line 33 of file dxdiag.c.

Function Documentation

◆ DestroyTabCtrlDialogs()

VOID DestroyTabCtrlDialogs ( PDXDIAG_CONTEXT  pContext)

Definition at line 73 of file dxdiag.c.

74 {
75  UINT Index;
76 
77  /* destroy default dialogs */
78  for(Index = 0; Index < sizeof(pContext->hDialogs) / sizeof(HWND); Index++)
79  {
80  if (pContext->hDialogs[Index])
81  DestroyWindow(pContext->hDialogs[Index]);
82  }
83 
84  /* destroy display dialogs */
85  for(Index = 0; Index < pContext->NumDisplayAdapter; Index++)
86  {
87  if (pContext->hDisplayWnd[Index])
88  DestroyWindow(pContext->hDisplayWnd[Index]);
89  }
90 
91  /* destroy audio dialogs */
92  for(Index = 0; Index < pContext->NumSoundAdapter; Index++)
93  {
94  if (pContext->hSoundWnd[Index])
95  DestroyWindow(pContext->hSoundWnd[Index]);
96  }
97 
98 }
ULONG NumDisplayAdapter
Definition: precomp.h:33
BOOL WINAPI DestroyWindow(_In_ HWND)
static const UCHAR Index[8]
Definition: usbohci.c:18
HWND * hSoundWnd
Definition: precomp.h:36
ULONG NumSoundAdapter
Definition: precomp.h:35
HWND * hDisplayWnd
Definition: precomp.h:34
unsigned int UINT
Definition: ndis.h:50
HWND hDialogs[5]
Definition: precomp.h:37

Referenced by DxDiagWndProc().

◆ DxDiagWndProc()

INT_PTR CALLBACK DxDiagWndProc ( HWND  hwndDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 223 of file dxdiag.c.

224 {
225  LPNMHDR pnmh;
226  PDXDIAG_CONTEXT pContext;
227 
228  pContext = (PDXDIAG_CONTEXT)GetWindowLongPtr(hwndDlg, DWLP_USER);
229 
230  switch (message)
231  {
232  case WM_INITDIALOG:
233  InitializeDxDiagDialog(hwndDlg);
234  return TRUE;
235  case WM_COMMAND:
237  {
238  //TODO
239  /* handle save information */
240  return TRUE;
241  }
242 
243  if (LOWORD(wParam) == IDC_BUTTON_NEXT)
244  {
245  INT CurSel;
246 
247  /* retrieve current page */
248  CurSel = TabCtrl_GetCurSel(hTabCtrlWnd);
249  CurSel++;
250 
251  /* enable/disable next button */
253  (CurSel != TabCtrl_GetItemCount(hTabCtrlWnd) - 1));
254 
255  /* switch to next tab */
257 
258  /* show next page */
259  TabCtrl_OnSelChange(pContext);
260  return TRUE;
261  }
262 
263  if (LOWORD(wParam) == IDC_BUTTON_HELP)
264  {
265  //TODO
266  /* handle help button */
267  return TRUE;
268  }
269 
271  EndDialog(hwndDlg, LOWORD(wParam));
272  return TRUE;
273  }
274  break;
275 
276  case WM_NOTIFY:
277  pnmh = (LPNMHDR)lParam;
278  if ((pnmh->hwndFrom == hTabCtrlWnd) && (pnmh->idFrom == IDC_TAB_CONTROL) && (pnmh->code == TCN_SELCHANGE))
279  {
281 
282  /* enable/disable next button */
284  (CurSel != TabCtrl_GetItemCount(hTabCtrlWnd) - 1));
285 
286  TabCtrl_OnSelChange(pContext);
287  }
288  break;
289  case WM_DESTROY:
290  DestroyTabCtrlDialogs(pContext);
291  return DefWindowProc(hwndDlg, message, wParam, lParam);
292  }
293  return 0;
294 }
#define TabCtrl_GetItemCount(hwnd)
Definition: commctrl.h:3941
Definition: tftpd.h:59
#define TRUE
Definition: types.h:120
#define IDC_BUTTON_EXIT
Definition: resource.h:20
VOID InitializeDxDiagDialog(HWND hwndDlg)
Definition: dxdiag.c:195
#define IDC_BUTTON_NEXT
Definition: resource.h:18
HWND hTabCtrlWnd
Definition: dxdiag.c:14
#define IDC_BUTTON_SAVE_INFO
Definition: resource.h:19
#define TCM_SETCURSEL
Definition: commctrl.h:4037
#define TabCtrl_GetCurSel(hwnd)
Definition: commctrl.h:4035
#define IDC_TAB_CONTROL
Definition: resource.h:16
int32_t INT
Definition: typedefs.h:56
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
struct tagNMHDR * LPNMHDR
UINT code
Definition: winuser.h:3112
UINT_PTR idFrom
Definition: winuser.h:3111
struct DXDIAG_CONTEXT * PDXDIAG_CONTEXT
VOID DestroyTabCtrlDialogs(PDXDIAG_CONTEXT pContext)
Definition: dxdiag.c:73
#define DefWindowProc
Definition: ros2win.h:31
#define WM_DESTROY
Definition: winuser.h:1591
#define TCN_SELCHANGE
Definition: commctrl.h:4104
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
static const WCHAR L[]
Definition: oid.c:1250
#define DWLP_USER
Definition: winuser.h:866
#define WM_COMMAND
Definition: winuser.h:1716
HWND hwndFrom
Definition: winuser.h:3110
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
#define IDC_BUTTON_HELP
Definition: resource.h:17
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
VOID TabCtrl_OnSelChange(PDXDIAG_CONTEXT pContext)
Definition: dxdiag.c:130
#define GetWindowLongPtr
Definition: treelist.c:73
#define IDCANCEL
Definition: winuser.h:825
#define WM_INITDIALOG
Definition: winuser.h:1715
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82
#define WM_NOTIFY
Definition: richedit.h:61

Referenced by wWinMain().

◆ EnableDialogTheme()

BOOL EnableDialogTheme ( HWND  hwnd)

Definition at line 38 of file dxdiag.c.

39 {
40  HMODULE hUXTheme;
42 
43  hUXTheme = LoadLibraryA("uxtheme.dll");
44 
45  if(hUXTheme)
46  {
48  (ETDTProc)GetProcAddress(hUXTheme, "EnableThemeDialogTexture");
49 
51  {
53 
54  FreeLibrary(hUXTheme);
55  return TRUE;
56  }
57  else
58  {
59  // Failed to locate API!
60  FreeLibrary(hUXTheme);
61  return FALSE;
62  }
63  }
64  else
65  {
66  // Not running under XP? Just fail gracefully
67  return FALSE;
68  }
69 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define TRUE
Definition: types.h:120
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
Definition: loader.c:111
#define ETDT_ENABLETAB
Definition: dxdiag.c:30
#define FreeLibrary(x)
Definition: compat.h:405
static ETDTProc fnEnableThemeDialogTexture
Definition: uxthemesupp.c:15
HRESULT(WINAPI * ETDTProc)(HWND, DWORD)
Definition: dxdiag.c:33
#define GetProcAddress(x, y)
Definition: compat.h:410

Referenced by DSEnumCallback(), InitializeDisplayAdapters(), and InitializeTabCtrl().

◆ InitializeDxDiagDialog()

VOID InitializeDxDiagDialog ( HWND  hwndDlg)

Definition at line 195 of file dxdiag.c.

196 {
197  PDXDIAG_CONTEXT pContext;
198  HICON hIcon;
199 
201  if (!pContext)
202  return;
203 
204  /* store window handle */
205  pContext->hMainDialog = hwndDlg;
206 
207  /* store the context */
208  SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pContext);
209 
210  /* initialize the tab ctrl */
211  InitializeTabCtrl(hwndDlg, pContext);
212 
213  /* load application icon */
215  if (!hIcon)
216  return;
217  /* display icon */
218  SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
219 }
static HICON
Definition: imagelist.c:84
#define IMAGE_ICON
Definition: winuser.h:212
#define SetWindowLongPtr
Definition: treelist.c:70
#define ICON_SMALL
Definition: tnclass.cpp:48
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_ UINT, _In_ int, _In_ int, _In_ UINT)
Definition: cursoricon.c:2172
LONG_PTR LPARAM
Definition: windef.h:208
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define DWLP_USER
Definition: winuser.h:866
VOID InitializeTabCtrl(HWND hwndDlg, PDXDIAG_CONTEXT pContext)
Definition: dxdiag.c:170
#define IDI_APPICON
Definition: resource.h:166
HINSTANCE hInst
Definition: dxdiag.c:13
HICON hIcon
Definition: msconfig.c:44
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
HWND hMainDialog
Definition: precomp.h:31
#define SendMessage
Definition: winuser.h:5709
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582

Referenced by DxDiagWndProc().

◆ InitializeTabCtrl()

VOID InitializeTabCtrl ( HWND  hwndDlg,
PDXDIAG_CONTEXT  pContext 
)

Definition at line 170 of file dxdiag.c.

171 {
172  /* get tabctrl */
174  pContext->hTabCtrl = hTabCtrlWnd;
175 
176  /* create the dialogs */
182 
183  /* insert tab ctrl items */
185  InitializeDisplayAdapters(pContext);
186  InitializeDirectSoundPage(pContext);
191  TabCtrl_OnSelChange(pContext);
192 }
#define IDD_MUSIC_DIALOG
Definition: resource.h:10
INT_PTR CALLBACK MusicPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: music.c:13
INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: network.c:342
VOID InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId)
Definition: dxdiag.c:102
#define IDS_NETWORK_DIALOG
Definition: resource.h:109
#define IDS_MUSIC_DIALOG
Definition: resource.h:107
ULONG NumDisplayAdapter
Definition: precomp.h:33
INT_PTR CALLBACK InputPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: input.c:207
HWND hTabCtrlWnd
Definition: dxdiag.c:14
#define IDS_SYSTEM_DIALOG
Definition: resource.h:104
#define IDC_TAB_CONTROL
Definition: resource.h:16
void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext)
Definition: sound.c:265
#define IDD_SYSTEM_DIALOG
Definition: resource.h:7
INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: system.c:383
#define IDS_INPUT_DIALOG
Definition: resource.h:108
LONG_PTR LPARAM
Definition: windef.h:208
#define IDD_INPUT_DIALOG
Definition: resource.h:11
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define IDD_NETWORK_DIALOG
Definition: resource.h:12
HWND hTabCtrl
Definition: precomp.h:32
INT_PTR CALLBACK HelpPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: help.c:13
ULONG NumSoundAdapter
Definition: precomp.h:35
HINSTANCE hInst
Definition: dxdiag.c:13
#define IDD_HELP_DIALOG
Definition: resource.h:13
HWND WINAPI CreateDialogParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
HWND hDialogs[5]
Definition: precomp.h:37
VOID TabCtrl_OnSelChange(PDXDIAG_CONTEXT pContext)
Definition: dxdiag.c:130
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
void InitializeDisplayAdapters(PDXDIAG_CONTEXT pContext)
Definition: display.c:312
BOOL EnableDialogTheme(HWND hwnd)
Definition: dxdiag.c:38
#define IDS_HELP_DIALOG
Definition: resource.h:110

Referenced by InitializeDxDiagDialog().

◆ InsertTabCtrlItem()

VOID InsertTabCtrlItem ( HWND  hDlgCtrl,
INT  Position,
LPWSTR  uId 
)

Definition at line 102 of file dxdiag.c.

103 {
104  WCHAR szName[100];
105  TCITEMW item;
106 
107  /* setup item info */
108  memset(&item, 0, sizeof(TCITEMW));
109  item.mask = TCIF_TEXT;
110 
111  /* load item name */
112  if (!HIWORD(uId))
113  {
114  szName[0] = L'\0';
115  if (!LoadStringW(hInst, LOWORD(uId), szName, 100))
116  return;
117  szName[99] = L'\0';
118  item.pszText = szName;
119  }
120  else
121  {
122  item.pszText = uId;
123  }
124 
125 
127 }
static COORD Position
Definition: mouse.c:34
#define TCIF_TEXT
Definition: commctrl.h:3943
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
LONG_PTR LPARAM
Definition: windef.h:208
#define TCM_INSERTITEM
Definition: commctrl.h:4021
__wchar_t WCHAR
Definition: xmlstorage.h:180
static const WCHAR L[]
Definition: oid.c:1250
HINSTANCE hInst
Definition: dxdiag.c:13
static ATOM item
Definition: dde.c:856
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
static const WCHAR szName[]
Definition: msipriv.h:1194
#define HIWORD(l)
Definition: typedefs.h:246
#define memset(x, y, z)
Definition: compat.h:39
#define LOWORD(l)
Definition: pedump.c:82

Referenced by DSEnumCallback(), InitializeDisplayAdapters(), and InitializeTabCtrl().

◆ TabCtrl_OnSelChange()

VOID TabCtrl_OnSelChange ( PDXDIAG_CONTEXT  pContext)

Definition at line 130 of file dxdiag.c.

131 {
132  INT Index;
133  INT CurSel;
134 
135  /* retrieve new page */
136  CurSel = TabCtrl_GetCurSel(hTabCtrlWnd);
137  if (CurSel < 0 || CurSel > pContext->NumDisplayAdapter + pContext->NumSoundAdapter + 5)
138  return;
139 
140  /* hide all windows */
141  for(Index = 0; Index < 5; Index++)
142  ShowWindow(pContext->hDialogs[Index], SW_HIDE);
143 
144  for(Index = 0; Index < pContext->NumDisplayAdapter; Index++)
145  ShowWindow(pContext->hDisplayWnd[Index], SW_HIDE);
146 
147  for(Index = 0; Index < pContext->NumSoundAdapter; Index++)
148  ShowWindow(pContext->hSoundWnd[Index], SW_HIDE);
149 
150 
151  if (CurSel == 0 || CurSel > pContext->NumDisplayAdapter + pContext->NumSoundAdapter)
152  {
153  if (CurSel)
154  CurSel -= pContext->NumDisplayAdapter + pContext->NumSoundAdapter;
155  ShowWindow(pContext->hDialogs[CurSel], SW_SHOW);
156  return;
157  }
158 
159  if (CurSel -1 < pContext->NumDisplayAdapter)
160  {
161  ShowWindow(pContext->hDisplayWnd[CurSel-1], SW_SHOW);
162  return;
163  }
164 
165  CurSel -= pContext->NumDisplayAdapter + 1;
166  ShowWindow(pContext->hSoundWnd[CurSel], SW_SHOW);
167 }
#define SW_HIDE
Definition: winuser.h:762
ULONG NumDisplayAdapter
Definition: precomp.h:33
HWND hTabCtrlWnd
Definition: dxdiag.c:14
#define TabCtrl_GetCurSel(hwnd)
Definition: commctrl.h:4035
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
int32_t INT
Definition: typedefs.h:56
#define SW_SHOW
Definition: winuser.h:769
static const UCHAR Index[8]
Definition: usbohci.c:18
HWND * hSoundWnd
Definition: precomp.h:36
ULONG NumSoundAdapter
Definition: precomp.h:35
HWND * hDisplayWnd
Definition: precomp.h:34
HWND hDialogs[5]
Definition: precomp.h:37

Referenced by DxDiagWndProc(), and InitializeTabCtrl().

◆ wWinMain()

int APIENTRY wWinMain ( HINSTANCE  hInstance,
HINSTANCE  hPrevInstance,
LPWSTR  lpCmdLine,
int  nShowCmd 
)

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.

Definition at line 296 of file dxdiag.c.

300 {
301 
303 
304  UNREFERENCED_PARAMETER(hPrevInstance);
305  UNREFERENCED_PARAMETER(lpCmdLine);
306  UNREFERENCED_PARAMETER(nCmdShow);
307 
308  InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
311 
312  hInst = hInstance;
313 
315 
316  return 0;
317 }
#define MAKEINTRESOURCE
Definition: winuser.h:591
INT_PTR CALLBACK DxDiagWndProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: dxdiag.c:223
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
static VOID InitControls(HWND hwnd)
Definition: mplay32.c:303
#define DialogBox
Definition: winuser.h:5627
HINSTANCE hInstance
Definition: charmap.c:20
#define ICC_TREEVIEW_CLASSES
Definition: commctrl.h:59
smooth NULL
Definition: ftsmooth.c:416
#define IDD_MAIN_DIALOG
Definition: resource.h:6
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
Definition: commctrl.c:893
#define ICC_LISTVIEW_CLASSES
Definition: commctrl.h:58
HINSTANCE hInst
Definition: dxdiag.c:13
#define ICC_STANDARD_CLASSES
Definition: commctrl.h:73
#define ICC_TAB_CLASSES
Definition: commctrl.h:61

Variable Documentation

◆ hInst

HINSTANCE hInst = 0

Definition at line 13 of file dxdiag.c.

Referenced by _CmdWndProc(), _tWinMain(), activate_window(), CSideTreeView::AddCategory(), AddColumns(), AddEntryToList(), CMainToolbar::AddImageToImageList(), AddItem(), AddService(), AffinityDialogWndProc(), AllocAndLoadString(), AllocAndLoadStringsCat(), ANIMATE_LoadResW(), ApplicationPageShowContextMenu1(), ApplicationPageShowContextMenu2(), ApplicationPageWndProc(), AtlAxCreateDialogA(), AtlAxCreateDialogW(), AtlAxDialogBoxA(), AtlAxDialogBoxW(), ATL::AtlFindStringResourceInstance(), BuildFilterStrings(), call_set_active_object(), ChildWndProc(), CommonWndProc(), Control_DoInterface(), Control_DoWindow(), Control_RunDLLA(), Control_RunDLLW(), CopyEventEntry(), CCharMapWindow::Create(), CDeviceManager::Create(), CMainToolbar::Create(), CAppsListView::Create(), CSearchBar::Create(), create_thread_hwnd(), create_tooltips_window(), CreateHSplitBar(), CreateListColumns(), CreateListView(), CreateNewKey(), CreateNewValue(), CreateResourceColumns(), CreateResourceListColumns(), CreateSettingsDlg(), CreateTreeView(), CreateVSplitBar(), CryptExtOpenCER(), DeleteIE3Cache(), DeleteKey(), DelNodeRunDLL32A(), DelNodeRunDLL32W(), DeviceManager_ExecuteA(), DeviceManager_ExecuteW(), DeviceProperties_RunDLLA(), DirectInputEnumDevCb(), DllMain(), DoSetPriority(), DSEnumCallback(), EnumerateServiceProviders(), EnumWindowsProc(), error_code_messagebox(), exec_hyperlink(), ExportRegistryFile(), ExtractAssociatedIconA(), ExtractAssociatedIconExA(), ExtractAssociatedIconExW(), ExtractAssociatedIconW(), FindDialog(), FrameWndProc(), GeneralPageWndProc(), GetInterfaceType(), GetServices(), HTMLWindow2_prompt(), ImportRegistryFile(), init_nscontainer(), InitChildWindow(), InitDetailsDlgCtrl(), initDialog(), InitializeDialog(), InitializeDirectInputDialog(), InitializeDisplayAdapters(), InitializeDxDiagDialog(), InitializeSystemPage(), InitializeTabCtrl(), InitInstance(), InitListViewColumns(), InitListViewImageLists(), InitOpenFileName(), InitTreeViewImageLists(), InitURLControl(), InputPageInitListViewColumns(), InsertTabCtrlItem(), CDownloadManager::LaunchDownloadDialog(), LaunchINFSectionA(), LaunchINFSectionExA(), LaunchINFSectionExW(), LaunchINFSectionW(), LengthOfStrResource(), LISTVIEW_CreateHeader(), ListWndNotifyProc(), LoadHive(), LoadLibraryExW(), LoadStringAndOem(), mciLoadCommandResource(), MenuHelp(), MLIsMLHInstance(), MLSetMLHInstance(), modify_binary_dlgproc(), modify_dword_dlgproc(), modify_multi_string_dlgproc(), modify_string_dlgproc(), MyMessageBox(), OleUIPasteSpecialW(), OnGetDispInfo(), OnMenuSelect(), Options_RunDLL(), Options_RunDLLA(), Options_RunDLLCommon(), Options_RunDLLW(), ParseResources(), PerfDataRefresh(), PerformancePageRefreshThread(), PerformRegAction(), PrintDlgA(), PrintDlgW(), PrintUIEntryW(), ProcessPage_OnDebug(), ProcessPage_OnDebugChannels(), ProcessPage_OnEndProcess(), ProcessPage_OnEndProcessTree(), ProcessPage_OnSetAffinity(), ProcessPage_OnViewSelectColumns(), ProcessPageShowContextMenu(), register_nscontainer_class(), register_serverwnd_class(), RegisterAndCreateWindow(), RegisterDialogClasses(), RegisterListboxWindowClass(), RegisterMyClass(), RegKeyEditPermissions(), CMainWindow::s_EnumAvailableAppProc(), SaveColumnSettings(), SaveSettings(), SelectNode(), ServicesPageWndProc(), SetDeviceDetails(), ATL::CAtlBaseModule::SetResourceInstance(), SHLoadMenuPopup(), SHMessageBoxCheckExA(), SHMessageBoxCheckExW(), ShowAboutDialog(), ShowCustomizeClassic(), ShowCustomizeNotifyIcons(), ShowPopupMenu(), SHUnregisterClassesA(), SHUnregisterClassesW(), START_TEST(), StartupPageWndProc(), TaskManager_OnFileNew(), test_clipboard_viewers(), test_listbox_dlgdir(), test_LoadStringA(), test_LoadStringW(), toggle_num_pages(), TOOLBAR_NCCreate(), ToolsPageWndProc(), TrayIcon_GetProcessorUsageIcon(), TrayIcon_ShellUpdateTrayIcon(), TreeView_Set3StateCheck(), UnloadHive(), update_preview_statusbar(), CMainWindow::UpdateApplicationsList(), UpdateColumnDataHints(), UXTHEME_InitSystem(), ValidateItem(), ViewTree_LoadTree(), WinMain(), WlxDialogBox(), WlxDialogBoxIndirect(), WlxDialogBoxIndirectParam(), WlxDialogBoxParam(), write_bitmap(), and wWinMain().

◆ hTabCtrlWnd

HWND hTabCtrlWnd

Definition at line 14 of file dxdiag.c.

Referenced by DxDiagWndProc(), InitializeTabCtrl(), and TabCtrl_OnSelChange().