ReactOS 0.4.15-dev-7157-gb7dcc10
general.cpp File Reference
#include "precomp.h"
Include dependency graph for general.cpp:

Go to the source code of this file.

Classes

struct  REGSHELLSTATE
 
struct  GENERAL_DIALOG
 

Macros

#define REGSHELLSTATE_SIZE   0x24
 

Typedefs

typedef struct REGSHELLSTATE REGSHELLSTATE
 
typedef struct REGSHELLSTATEPREGSHELLSTATE
 
typedef struct GENERAL_DIALOG GENERAL_DIALOG
 
typedef struct GENERAL_DIALOGPGENERAL_DIALOG
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (fprop)
 
BOOL WINAPI SHSettingsChanged (LPCVOID unused, LPCVOID inpRegKey)
 
static void IntGetDefaultShellState (REGSHELLSTATE &rss)
 
static BOOL IntSetShellStateSettings (BOOL bDoubleClick, BOOL bUseCommonTasks)
 
static BOOL IntGetShellStateSettings (BOOL &bDoubleClick, BOOL &bUseCommonTasks)
 
static BOOL IntSetUnderlineState (BOOL bIconUnderline)
 
static BOOL IntGetUnderlineState (VOID)
 
static BOOL IntSetNewWindowMode (BOOL bNewWindowMode)
 
static BOOL IntGetNewWindowMode (VOID)
 
static VOID GeneralDlg_UpdateIcons (HWND hDlg, UINT nCtrlID, PGENERAL_DIALOG pGeneral)
 
static void GeneralDlg_StoreToUI (HWND hwndDlg, BOOL bDoubleClick, BOOL bUseCommonTasks, BOOL bUnderline, BOOL bNewWindowMode, PGENERAL_DIALOG pGeneral)
 
static BOOL GeneralDlg_OnInitDialog (HWND hwndDlg, PGENERAL_DIALOG pGeneral)
 
static void GeneralDlg_OnRestoreDefaults (HWND hwndDlg, PGENERAL_DIALOG pGeneral)
 
static BOOL GeneralDlg_OnApply (HWND hwndDlg, PGENERAL_DIALOG pGeneral)
 
INT_PTR CALLBACK FolderOptionsGeneralDlg (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Variables

static const LPCWSTR s_pszExplorerKey
 

Macro Definition Documentation

◆ REGSHELLSTATE_SIZE

#define REGSHELLSTATE_SIZE   0x24

Definition at line 32 of file general.cpp.

Typedef Documentation

◆ GENERAL_DIALOG

◆ PGENERAL_DIALOG

◆ PREGSHELLSTATE

◆ REGSHELLSTATE

Function Documentation

◆ FolderOptionsGeneralDlg()

INT_PTR CALLBACK FolderOptionsGeneralDlg ( HWND  hwndDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 365 of file general.cpp.

370{
371 static GENERAL_DIALOG general;
372
373 switch (uMsg)
374 {
375 case WM_INITDIALOG:
376 general.hTaskIcon = NULL;
377 general.hFolderIcon = NULL;
378 general.hClickIcon = NULL;
379 return GeneralDlg_OnInitDialog(hwndDlg, &general);
380
381 case WM_COMMAND:
382 switch (LOWORD(wParam))
383 {
392 if (HIWORD(wParam) == BN_CLICKED)
393 {
394 GeneralDlg_UpdateIcons(hwndDlg, LOWORD(wParam), &general);
395
396 // Enable the 'Apply' button
397 PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
398 }
399 break;
401 if (HIWORD(wParam) == BN_CLICKED)
402 {
403 GeneralDlg_OnRestoreDefaults(hwndDlg, &general);
404
405 // Enable the 'Apply' button
406 PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
407 }
408 break;
409 }
410 break;
411
412 case WM_NOTIFY:
413 {
414 LPNMHDR pnmh = (LPNMHDR)lParam;
415
416 switch (pnmh->code)
417 {
418 case PSN_SETACTIVE:
419 break;
420
421 case PSN_APPLY:
422 return GeneralDlg_OnApply(hwndDlg, &general);
423 }
424 break;
425 }
426
427 case WM_DESTROY:
428 DestroyIcon(general.hTaskIcon);
429 DestroyIcon(general.hFolderIcon);
430 DestroyIcon(general.hClickIcon);
431 break;
432
433 default:
434 return FALSE;
435 }
436 return FALSE;
437}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
static BOOL GeneralDlg_OnInitDialog(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
Definition: general.cpp:322
static VOID GeneralDlg_UpdateIcons(HWND hDlg, UINT nCtrlID, PGENERAL_DIALOG pGeneral)
Definition: general.cpp:198
static void GeneralDlg_OnRestoreDefaults(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
Definition: general.cpp:338
static BOOL GeneralDlg_OnApply(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
Definition: general.cpp:351
#define LOWORD(l)
Definition: pedump.c:82
#define PropSheet_Changed(d, w)
Definition: prsht.h:344
#define PSN_APPLY
Definition: prsht.h:117
#define PSN_SETACTIVE
Definition: prsht.h:115
#define WM_NOTIFY
Definition: richedit.h:61
#define IDC_FOLDER_OPTIONS_CLASSICFOLDERS
Definition: shresdef.h:402
#define IDC_FOLDER_OPTIONS_ULBROWSER
Definition: shresdef.h:407
#define IDC_FOLDER_OPTIONS_SINGLECLICK
Definition: shresdef.h:405
#define IDC_FOLDER_OPTIONS_COMMONTASKS
Definition: shresdef.h:401
#define IDC_FOLDER_OPTIONS_SAMEWINDOW
Definition: shresdef.h:403
#define IDC_FOLDER_OPTIONS_DOUBLECLICK
Definition: shresdef.h:406
#define IDC_FOLDER_OPTIONS_ULPOINT
Definition: shresdef.h:408
#define IDC_FOLDER_OPTIONS_RESTORE
Definition: shresdef.h:409
#define IDC_FOLDER_OPTIONS_OWNWINDOW
Definition: shresdef.h:404
HICON hFolderIcon
Definition: general.cpp:193
HICON hClickIcon
Definition: general.cpp:194
HICON hTaskIcon
Definition: general.cpp:192
UINT code
Definition: winuser.h:3158
#define HIWORD(l)
Definition: typedefs.h:247
#define WM_COMMAND
Definition: winuser.h:1739
#define WM_INITDIALOG
Definition: winuser.h:1738
struct tagNMHDR * LPNMHDR
HWND WINAPI GetParent(_In_ HWND)
#define BN_CLICKED
Definition: winuser.h:1924
#define WM_DESTROY
Definition: winuser.h:1608
BOOL WINAPI DestroyIcon(_In_ HICON)
Definition: cursoricon.c:2022

Referenced by CFolderOptions::AddPages(), and ShowFolderOptionsDialog().

◆ GeneralDlg_OnApply()

static BOOL GeneralDlg_OnApply ( HWND  hwndDlg,
PGENERAL_DIALOG  pGeneral 
)
static

Definition at line 351 of file general.cpp.

352{
354 BOOL bUseCommonTasks = (IsDlgButtonChecked(hwndDlg, IDC_FOLDER_OPTIONS_COMMONTASKS) == BST_CHECKED);
356 BOOL bNewWindowMode = !(IsDlgButtonChecked(hwndDlg, IDC_FOLDER_OPTIONS_SAMEWINDOW) == BST_CHECKED);
357
358 IntSetUnderlineState(bUnderline);
359 IntSetNewWindowMode(bNewWindowMode);
360 IntSetShellStateSettings(bDoubleClick, bUseCommonTasks);
361 return TRUE;
362}
#define TRUE
Definition: types.h:120
unsigned int BOOL
Definition: ntddk_ex.h:94
static BOOL IntSetShellStateSettings(BOOL bDoubleClick, BOOL bUseCommonTasks)
Definition: general.cpp:70
static BOOL IntSetUnderlineState(BOOL bIconUnderline)
Definition: general.cpp:140
static BOOL IntSetNewWindowMode(BOOL bNewWindowMode)
Definition: general.cpp:168
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
#define BST_CHECKED
Definition: winuser.h:197

Referenced by FolderOptionsGeneralDlg().

◆ GeneralDlg_OnInitDialog()

static BOOL GeneralDlg_OnInitDialog ( HWND  hwndDlg,
PGENERAL_DIALOG  pGeneral 
)
static

Definition at line 322 of file general.cpp.

323{
324 BOOL bDoubleClick = TRUE;
325 BOOL bUseCommonTasks = FALSE;
326 BOOL bUnderline = IntGetUnderlineState();
327 BOOL bNewWindowMode = IntGetNewWindowMode();
328
329 IntGetShellStateSettings(bDoubleClick, bUseCommonTasks);
330
331 GeneralDlg_StoreToUI(hwndDlg, bDoubleClick, bUseCommonTasks, bUnderline, bNewWindowMode, pGeneral);
332 GeneralDlg_UpdateIcons(hwndDlg, 0, pGeneral);
333
334 return TRUE;
335}
static BOOL IntGetNewWindowMode(VOID)
Definition: general.cpp:178
static BOOL IntGetUnderlineState(VOID)
Definition: general.cpp:153
static BOOL IntGetShellStateSettings(BOOL &bDoubleClick, BOOL &bUseCommonTasks)
Definition: general.cpp:113
static void GeneralDlg_StoreToUI(HWND hwndDlg, BOOL bDoubleClick, BOOL bUseCommonTasks, BOOL bUnderline, BOOL bNewWindowMode, PGENERAL_DIALOG pGeneral)
Definition: general.cpp:286

Referenced by FolderOptionsGeneralDlg().

◆ GeneralDlg_OnRestoreDefaults()

static void GeneralDlg_OnRestoreDefaults ( HWND  hwndDlg,
PGENERAL_DIALOG  pGeneral 
)
static

Definition at line 338 of file general.cpp.

339{
340 // default values
341 BOOL bDoubleClick = TRUE;
342 BOOL bUseCommonTasks = FALSE;
343 BOOL bUnderline = FALSE;
344 BOOL bNewWindowMode = FALSE;
345
346 GeneralDlg_StoreToUI(hwndDlg, bDoubleClick, bUseCommonTasks, bUnderline, bNewWindowMode, pGeneral);
347 GeneralDlg_UpdateIcons(hwndDlg, 0, pGeneral);
348}

Referenced by FolderOptionsGeneralDlg().

◆ GeneralDlg_StoreToUI()

static void GeneralDlg_StoreToUI ( HWND  hwndDlg,
BOOL  bDoubleClick,
BOOL  bUseCommonTasks,
BOOL  bUnderline,
BOOL  bNewWindowMode,
PGENERAL_DIALOG  pGeneral 
)
static

Definition at line 286 of file general.cpp.

288{
289 if (bUseCommonTasks)
291 else
293
294 if (bDoubleClick)
296 else
298
299 if (bNewWindowMode)
301 else
303
304 if (!bDoubleClick)
305 {
308 if (bUnderline)
310 else
312 }
313 else
314 {
318 }
319}
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)

Referenced by GeneralDlg_OnInitDialog(), and GeneralDlg_OnRestoreDefaults().

◆ GeneralDlg_UpdateIcons()

static VOID GeneralDlg_UpdateIcons ( HWND  hDlg,
UINT  nCtrlID,
PGENERAL_DIALOG  pGeneral 
)
static

Definition at line 198 of file general.cpp.

199{
200 HICON hTaskIcon = NULL, hFolderIcon = NULL, hClickIcon = NULL;
201 LPTSTR lpTaskIconName = NULL, lpFolderIconName = NULL, lpClickIconName = NULL;
202
203 // Show task setting icon.
208
209 if (lpTaskIconName)
210 {
211 hTaskIcon = (HICON)LoadImage(shell32_hInstance, lpTaskIconName,
213 if (hTaskIcon)
214 {
215 HWND hwndTaskIcon = GetDlgItem(hDlg, IDC_FOLDER_OPTIONS_TASKICON);
216 SendMessage(hwndTaskIcon, STM_SETIMAGE, IMAGE_ICON, (LPARAM)hTaskIcon);
217 }
218 }
219
220 // Show Folder setting icons
225
226 if (lpFolderIconName)
227 {
228 hFolderIcon = (HICON)LoadImage(shell32_hInstance, lpFolderIconName,
230 if (hFolderIcon)
231 {
232 HWND hwndFolderIcon = GetDlgItem(hDlg, IDC_FOLDER_OPTIONS_FOLDERICON);
233 SendMessage(hwndFolderIcon, STM_SETIMAGE, IMAGE_ICON, (LPARAM)hFolderIcon);
234 }
235 }
236
237 // Show click setting icon
242
243 if (lpClickIconName)
244 {
245 hClickIcon = (HICON)LoadImage(shell32_hInstance, lpClickIconName,
247 if (hClickIcon)
248 {
249 HWND hwndClickIcon = GetDlgItem(hDlg, IDC_FOLDER_OPTIONS_CLICKICON);
250 SendMessage(hwndClickIcon, STM_SETIMAGE, IMAGE_ICON, (LPARAM)hClickIcon);
251 }
252 }
253
254 // Replace icons
255 if (hTaskIcon)
256 {
257 DestroyIcon(pGeneral->hTaskIcon);
258 pGeneral->hTaskIcon = hTaskIcon;
259 }
260 if (hFolderIcon)
261 {
262 DestroyIcon(pGeneral->hFolderIcon);
263 pGeneral->hFolderIcon = hFolderIcon;
264 }
265 if (hClickIcon)
266 {
267 DestroyIcon(pGeneral->hClickIcon);
268 pGeneral->hClickIcon = hClickIcon;
269 }
270
271 if (nCtrlID == IDC_FOLDER_OPTIONS_SINGLECLICK)
272 {
275 }
276
277 if (nCtrlID == IDC_FOLDER_OPTIONS_DOUBLECLICK)
278 {
282 }
283}
#define shell32_hInstance
static HICON
Definition: imagelist.c:84
#define IDI_SHELL_OPEN_IN_SOME_WINDOW
Definition: shresdef.h:633
#define IDC_FOLDER_OPTIONS_FOLDERICON
Definition: shresdef.h:399
#define IDI_SHELL_OPEN_IN_NEW_WINDOW
Definition: shresdef.h:634
#define IDI_SHELL_CLASSIC_FOLDERS
Definition: shresdef.h:632
#define IDI_SHELL_SINGLE_CLICK_TO_OPEN
Definition: shresdef.h:635
#define IDC_FOLDER_OPTIONS_CLICKICON
Definition: shresdef.h:400
#define IDI_SHELL_DOUBLE_CLICK_TO_OPEN
Definition: shresdef.h:636
#define IDC_FOLDER_OPTIONS_TASKICON
Definition: shresdef.h:398
#define IDI_SHELL_SHOW_COMMON_TASKS
Definition: shresdef.h:631
LONG_PTR LPARAM
Definition: windef.h:208
#define IMAGE_ICON
Definition: winuser.h:212
#define STM_SETIMAGE
Definition: winuser.h:2092
#define SendMessage
Definition: winuser.h:5842
#define LoadImage
Definition: winuser.h:5814
#define LR_DEFAULTCOLOR
Definition: winuser.h:1086
#define MAKEINTRESOURCE
Definition: winuser.h:591
CHAR * LPTSTR
Definition: xmlstorage.h:192

Referenced by FolderOptionsGeneralDlg(), GeneralDlg_OnInitDialog(), and GeneralDlg_OnRestoreDefaults().

◆ IntGetDefaultShellState()

static void IntGetDefaultShellState ( REGSHELLSTATE rss)
static

Definition at line 44 of file general.cpp.

45{
46 ZeroMemory(&rss, sizeof(rss));
48
51
54 rss.ss.fShowInfoTip = TRUE;
55
56 rss.ss.iSortDirection = 1;
57 rss.ss.version = 0xD;
58 rss.ss.fStartPanelOn = TRUE;
59}
#define REGSHELLSTATE_SIZE
Definition: general.cpp:32
DWORD dwSize
Definition: general.cpp:28
SHELLSTATE ss
Definition: general.cpp:29
BOOL fShowExtensions
Definition: shlobj.h:1533
BOOL fShowCompColor
Definition: shlobj.h:1537
BOOL fShowInfoTip
Definition: shlobj.h:1544
UINT version
Definition: shlobj.h:1556
int iSortDirection
Definition: shlobj.h:1555
BOOL fShowAllObjects
Definition: shlobj.h:1532
BOOL fDoubleClickInWebView
Definition: shlobj.h:1538
BOOL fStartPanelOn
Definition: shlobj.h:1559
#define ZeroMemory
Definition: winbase.h:1712

Referenced by IntSetShellStateSettings().

◆ IntGetNewWindowMode()

static BOOL IntGetNewWindowMode ( VOID  )
static

Definition at line 178 of file general.cpp.

179{
181 if (!ReadCabinetState(&cs, sizeof(cs)))
182 return FALSE;
183
184 return !!cs.fNewWindowMode;
185}
#define cs
Definition: i386-dis.c:442
BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
Definition: shellord.c:1621

Referenced by GeneralDlg_OnInitDialog().

◆ IntGetShellStateSettings()

static BOOL IntGetShellStateSettings ( BOOL bDoubleClick,
BOOL bUseCommonTasks 
)
static

Definition at line 113 of file general.cpp.

114{
115 REGSHELLSTATE rss;
116 DWORD dwSize = sizeof(rss);
117 LSTATUS nStatus;
118 bDoubleClick = TRUE;
119 bUseCommonTasks = FALSE;
120
121 // read ShellState
123 L"ShellState", NULL, &rss, &dwSize);
124 if (nStatus != ERROR_SUCCESS || rss.dwSize < REGSHELLSTATE_SIZE)
125 return FALSE;
126
127 bDoubleClick = !!rss.ss.fDoubleClickInWebView;
128 bUseCommonTasks = !!rss.ss.fWebView;
129 return TRUE;
130}
#define ERROR_SUCCESS
Definition: deptool.c:10
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
DWORD WINAPI SHGetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, LPDWORD pwType, LPVOID pvData, LPDWORD pcbData)
Definition: reg.c:1236
unsigned long DWORD
Definition: ntddk_ex.h:95
static const LPCWSTR s_pszExplorerKey
Definition: general.cpp:34
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
#define L(x)
Definition: ntvdm.h:50
BOOL fWebView
Definition: shlobj.h:1546
#define HKEY_CURRENT_USER
Definition: winreg.h:11

Referenced by GeneralDlg_OnInitDialog().

◆ IntGetUnderlineState()

static BOOL IntGetUnderlineState ( VOID  )
static

Definition at line 153 of file general.cpp.

154{
155 DWORD dwValue, dwDefault = 2, dwSize = sizeof(DWORD);
156 SHRegGetUSValue(s_pszExplorerKey, L"IconUnderline", NULL, &dwValue, &dwSize, FALSE, &dwDefault, sizeof(DWORD));
157 return dwValue == 3;
158}
#define DWORD
Definition: nt_native.h:44
#define SHRegGetUSValue
Definition: shlwapi.h:534

Referenced by GeneralDlg_OnInitDialog().

◆ IntSetNewWindowMode()

static BOOL IntSetNewWindowMode ( BOOL  bNewWindowMode)
static

Definition at line 168 of file general.cpp.

169{
171 if (!ReadCabinetState(&cs, sizeof(cs)))
172 return FALSE;
173
174 cs.fNewWindowMode = (bNewWindowMode ? TRUE : FALSE);
175 return WriteCabinetState(&cs);
176}
BOOL WINAPI WriteCabinetState(CABINETSTATE *cs)
Definition: shellord.c:1668

Referenced by GeneralDlg_OnApply().

◆ IntSetShellStateSettings()

static BOOL IntSetShellStateSettings ( BOOL  bDoubleClick,
BOOL  bUseCommonTasks 
)
static

Definition at line 70 of file general.cpp.

71{
72 REGSHELLSTATE rss;
73 DWORD dwSize = sizeof(rss);
74 LSTATUS nStatus;
75
76 // read ShellState
79 L"ShellState",
80 NULL,
81 &rss,
82 &dwSize);
83 if (nStatus != ERROR_SUCCESS || rss.dwSize < REGSHELLSTATE_SIZE)
84 {
86 }
87
88 // update ShellState
89 rss.ss.fDoubleClickInWebView = (bDoubleClick ? TRUE : FALSE);
90 rss.ss.fWebView = (bUseCommonTasks ? TRUE : FALSE);
91
92 // write ShellState
96 L"ShellState",
98 &rss,
99 dwSize);
100 if (nStatus != ERROR_SUCCESS)
101 return FALSE;
102
103 SHSettingsChanged(0, L"ShellState");
104 return TRUE;
105}
DWORD WINAPI SHSetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, DWORD dwType, LPCVOID pvData, DWORD cbData)
Definition: reg.c:1306
static void IntGetDefaultShellState(REGSHELLSTATE &rss)
Definition: general.cpp:44
BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCVOID inpRegKey)
Definition: shpolicy.c:904
#define REG_BINARY
Definition: nt_native.h:1496

Referenced by GeneralDlg_OnApply().

◆ IntSetUnderlineState()

static BOOL IntSetUnderlineState ( BOOL  bIconUnderline)
static

Definition at line 140 of file general.cpp.

141{
143 DWORD dwValue = (bIconUnderline ? 3 : 2), dwSize = sizeof(DWORD);
146 if (Status != ERROR_SUCCESS)
147 return FALSE;
148
149 SHSettingsChanged(0, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\IconUnderline");
150 return TRUE;
151}
Status
Definition: gdiplustypes.h:25
#define REG_NONE
Definition: nt_native.h:1492
#define SHRegSetUSValue
Definition: shlwapi.h:556
#define SHREGSET_HKLM
Definition: shlwapi.h:313
#define SHREGSET_FORCE_HKCU
Definition: shlwapi.h:312

Referenced by GeneralDlg_OnApply().

◆ SHSettingsChanged()

BOOL WINAPI SHSettingsChanged ( LPCVOID  unused,
LPCVOID  inpRegKey 
)

Definition at line 904 of file shpolicy.c.

905{
906 TRACE("(%p, %p)\n", unused, inpRegKey);
907
908 /* first check - if input is non-NULL and points to the secret
909 key string, then pass. Otherwise return 0.
910 */
911 if (inpRegKey != NULL)
912 {
913 if (SHELL_OsIsUnicode())
914 {
915 if (lstrcmpiW(inpRegKey, L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies") &&
916 lstrcmpiW(inpRegKey, L"Policy"))
917 /* doesn't match, fail */
918 return FALSE;
919 }
920 else
921 {
922 if (lstrcmpiA(inpRegKey, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies") &&
923 lstrcmpiA(inpRegKey, "Policy"))
924 /* doesn't match, fail */
925 return FALSE;
926 }
927 }
928
929 return TRUE;
930}
int WINAPI lstrcmpiA(LPCSTR lpString1, LPCSTR lpString2)
Definition: lstring.c:42
int WINAPI lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
Definition: lstring.c:194
WORD unused[29]
Definition: crypt.c:1155
static __inline BOOL SHELL_OsIsUnicode(void)
Definition: shell32_main.h:130
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by IntSetShellStateSettings(), and IntSetUnderlineState().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( fprop  )

Variable Documentation

◆ s_pszExplorerKey

const LPCWSTR s_pszExplorerKey
static
Initial value:
=
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"

Definition at line 34 of file general.cpp.

Referenced by IntGetShellStateSettings(), IntGetUnderlineState(), IntSetShellStateSettings(), and IntSetUnderlineState().