ReactOS  0.4.14-dev-390-g34947ad
folder_options.cpp File Reference
#include "precomp.h"
Include dependency graph for folder_options.cpp:

Go to the source code of this file.

Classes

class  CMSGlobalFolderOptionsStub
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (fprop)
 
HBITMAP Create24BppBitmap (HDC hDC, INT cx, INT cy)
 
HBITMAP BitmapFromIcon (HICON hIcon, INT cx, INT cy)
 
HBITMAP CreateCheckImage (HDC hDC, BOOL bCheck, BOOL bEnabled)
 
HBITMAP CreateCheckMask (HDC hDC)
 
HBITMAP CreateRadioImage (HDC hDC, BOOL bCheck, BOOL bEnabled)
 
HBITMAP CreateRadioMask (HDC hDC)
 
EXTERN_C HPSXA WINAPI SHCreatePropSheetExtArrayEx (HKEY hKey, LPCWSTR pszSubKey, UINT max_iface, IDataObject *pDataObj)
 
static int CALLBACK PropSheetProc (HWND hwndDlg, UINT uMsg, LPARAM lParam)
 
static VOID ShowFolderOptionsDialog (HWND hWnd, HINSTANCE hInst)
 
static VOID Options_RunDLLCommon (HWND hWnd, HINSTANCE hInst, int fOptions, DWORD nCmdShow)
 
EXTERN_C VOID WINAPI Options_RunDLL (HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
 
EXTERN_C VOID WINAPI Options_RunDLLA (HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
 
EXTERN_C VOID WINAPI Options_RunDLLW (HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdShow)
 

Variables

LPCWSTR g_pszShell32 = L"%SystemRoot%\\system32\\shell32.dll"
 
LPCWSTR g_pszSpace = L" \t\n\r\f\v"
 

Function Documentation

◆ BitmapFromIcon()

HBITMAP BitmapFromIcon ( HICON  hIcon,
INT  cx,
INT  cy 
)

Definition at line 58 of file folder_options.cpp.

59 {
61  if (!hDC)
62  return NULL;
63 
65  if (!hbm)
66  {
67  DeleteDC(hDC);
68  return NULL;
69  }
70 
71  HGDIOBJ hbmOld = SelectObject(hDC, hbm);
72  {
73  RECT rc = { 0, 0, cx, cy };
74  FillRect(hDC, &rc, HBRUSH(COLOR_3DFACE + 1));
75  if (hIcon)
76  {
77  DrawIconEx(hDC, 0, 0, hIcon, cx, cy, 0, NULL, DI_NORMAL);
78  }
79  }
80  SelectObject(hDC, hbmOld);
81  DeleteDC(hDC);
82 
83  return hbm;
84 }
static HDC
Definition: imagelist.c:92
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
HBITMAP Create24BppBitmap(HDC hDC, INT cx, INT cy)
#define COLOR_3DFACE
Definition: winuser.h:919
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:581
smooth NULL
Definition: ftsmooth.c:416
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
Definition: cursoricon.c:1997
#define DI_NORMAL
Definition: wingdi.h:72
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI DeleteDC(_In_ HDC)
HICON hIcon
Definition: msconfig.c:44
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
_Out_opt_ int * cx
Definition: commctrl.h:581
static HBITMAP
Definition: button.c:44
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)

Referenced by FileTypesDlg_OnItemChanging().

◆ Create24BppBitmap()

HBITMAP Create24BppBitmap ( HDC  hDC,
INT  cx,
INT  cy 
)

Definition at line 41 of file folder_options.cpp.

42 {
43  BITMAPINFO bi;
44  LPVOID pvBits;
45 
46  ZeroMemory(&bi, sizeof(bi));
47  bi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
48  bi.bmiHeader.biWidth = cx;
49  bi.bmiHeader.biHeight = cy;
50  bi.bmiHeader.biPlanes = 1;
51  bi.bmiHeader.biBitCount = 24;
53 
54  HBITMAP hbm = CreateDIBSection(hDC, &bi, DIB_RGB_COLORS, &pvBits, NULL, 0);
55  return hbm;
56 }
BITMAPINFOHEADER bmiHeader
Definition: wingdi.h:1471
struct tagBITMAPINFOHEADER BITMAPINFOHEADER
#define ZeroMemory
Definition: winbase.h:1642
DWORD biCompression
Definition: amvideo.idl:35
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:581
smooth NULL
Definition: ftsmooth.c:416
static HDC hDC
Definition: 3dtext.c:33
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
Definition: bitmap.c:197
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
_Out_opt_ int * cx
Definition: commctrl.h:581
static HBITMAP
Definition: button.c:44
#define DIB_RGB_COLORS
Definition: wingdi.h:366
#define BI_RGB
Definition: precomp.h:34

Referenced by BitmapFromIcon(), CreateCheckImage(), and CreateRadioImage().

◆ CreateCheckImage()

HBITMAP CreateCheckImage ( HDC  hDC,
BOOL  bCheck,
BOOL  bEnabled 
)

Definition at line 86 of file folder_options.cpp.

87 {
88  INT cxSmallIcon = GetSystemMetrics(SM_CXSMICON);
89  INT cySmallIcon = GetSystemMetrics(SM_CYSMICON);
90 
91  HBITMAP hbm = Create24BppBitmap(hDC, cxSmallIcon, cySmallIcon);
92  if (hbm == NULL)
93  return NULL; // failure
94 
95  RECT Rect, BoxRect;
96  SetRect(&Rect, 0, 0, cxSmallIcon, cySmallIcon);
97  BoxRect = Rect;
98  InflateRect(&BoxRect, -1, -1);
99 
100  HGDIOBJ hbmOld = SelectObject(hDC, hbm);
101  {
103  if (bCheck)
104  uState |= DFCS_CHECKED;
105  if (!bEnabled)
106  uState |= DFCS_INACTIVE;
107  DrawFrameControl(hDC, &BoxRect, DFC_BUTTON, uState);
108  }
109  SelectObject(hDC, hbmOld);
110 
111  return hbm; // success
112 }
#define DFCS_FLAT
Definition: winuser.h:510
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
#define DFC_BUTTON
Definition: winuser.h:476
#define DFCS_CHECKED
Definition: winuser.h:504
#define DFCS_INACTIVE
Definition: winuser.h:502
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
#define SM_CYSMICON
Definition: winuser.h:1003
BOOL WINAPI DrawFrameControl(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
int32_t INT
Definition: typedefs.h:56
HBITMAP Create24BppBitmap(HDC hDC, INT cx, INT cy)
smooth NULL
Definition: ftsmooth.c:416
#define DFCS_MONO
Definition: winuser.h:511
int WINAPI GetSystemMetrics(_In_ int)
#define SM_CXSMICON
Definition: winuser.h:1002
#define DFCS_BUTTONCHECK
Definition: winuser.h:496
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
unsigned int UINT
Definition: ndis.h:50
static HBITMAP
Definition: button.c:44
struct Rect Rect

Referenced by ViewDlg_CreateTreeImageList().

◆ CreateCheckMask()

HBITMAP CreateCheckMask ( HDC  hDC)

Definition at line 114 of file folder_options.cpp.

115 {
116  INT cxSmallIcon = GetSystemMetrics(SM_CXSMICON);
117  INT cySmallIcon = GetSystemMetrics(SM_CYSMICON);
118 
119  HBITMAP hbm = CreateBitmap(cxSmallIcon, cySmallIcon, 1, 1, NULL);
120  if (hbm == NULL)
121  return NULL; // failure
122 
123  RECT Rect, BoxRect;
124  SetRect(&Rect, 0, 0, cxSmallIcon, cySmallIcon);
125  BoxRect = Rect;
126  InflateRect(&BoxRect, -1, -1);
127 
128  HGDIOBJ hbmOld = SelectObject(hDC, hbm);
129  {
131  FillRect(hDC, &BoxRect, HBRUSH(GetStockObject(BLACK_BRUSH)));
132  }
133  SelectObject(hDC, hbmOld);
134 
135  return hbm; // success
136 }
HGDIOBJ WINAPI GetStockObject(_In_ int)
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
#define SM_CYSMICON
Definition: winuser.h:1003
#define WHITE_BRUSH
Definition: wingdi.h:901
int32_t INT
Definition: typedefs.h:56
smooth NULL
Definition: ftsmooth.c:416
#define BLACK_BRUSH
Definition: wingdi.h:895
int WINAPI GetSystemMetrics(_In_ int)
#define SM_CXSMICON
Definition: winuser.h:1002
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
static HBITMAP
Definition: button.c:44
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
struct Rect Rect
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)

Referenced by ViewDlg_CreateTreeImageList().

◆ CreateRadioImage()

HBITMAP CreateRadioImage ( HDC  hDC,
BOOL  bCheck,
BOOL  bEnabled 
)

Definition at line 138 of file folder_options.cpp.

139 {
140  INT cxSmallIcon = GetSystemMetrics(SM_CXSMICON);
141  INT cySmallIcon = GetSystemMetrics(SM_CYSMICON);
142 
143  HBITMAP hbm = Create24BppBitmap(hDC, cxSmallIcon, cySmallIcon);
144  if (hbm == NULL)
145  return NULL; // failure
146 
147  RECT Rect, BoxRect;
148  SetRect(&Rect, 0, 0, cxSmallIcon, cySmallIcon);
149  BoxRect = Rect;
150  InflateRect(&BoxRect, -1, -1);
151 
152  HGDIOBJ hbmOld = SelectObject(hDC, hbm);
153  {
155  if (bCheck)
156  uState |= DFCS_CHECKED;
157  if (!bEnabled)
158  uState |= DFCS_INACTIVE;
159  DrawFrameControl(hDC, &BoxRect, DFC_BUTTON, uState);
160  }
161  SelectObject(hDC, hbmOld);
162 
163  return hbm; // success
164 }
#define DFCS_FLAT
Definition: winuser.h:510
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
#define DFC_BUTTON
Definition: winuser.h:476
#define DFCS_CHECKED
Definition: winuser.h:504
#define DFCS_INACTIVE
Definition: winuser.h:502
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
#define SM_CYSMICON
Definition: winuser.h:1003
BOOL WINAPI DrawFrameControl(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
int32_t INT
Definition: typedefs.h:56
HBITMAP Create24BppBitmap(HDC hDC, INT cx, INT cy)
smooth NULL
Definition: ftsmooth.c:416
#define DFCS_MONO
Definition: winuser.h:511
int WINAPI GetSystemMetrics(_In_ int)
#define SM_CXSMICON
Definition: winuser.h:1002
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
unsigned int UINT
Definition: ndis.h:50
static HBITMAP
Definition: button.c:44
#define DFCS_BUTTONRADIOIMAGE
Definition: winuser.h:497
struct Rect Rect

Referenced by ViewDlg_CreateTreeImageList().

◆ CreateRadioMask()

HBITMAP CreateRadioMask ( HDC  hDC)

Definition at line 166 of file folder_options.cpp.

167 {
168  INT cxSmallIcon = GetSystemMetrics(SM_CXSMICON);
169  INT cySmallIcon = GetSystemMetrics(SM_CYSMICON);
170 
171  HBITMAP hbm = CreateBitmap(cxSmallIcon, cySmallIcon, 1, 1, NULL);
172  if (hbm == NULL)
173  return NULL; // failure
174 
175  RECT Rect, BoxRect;
176  SetRect(&Rect, 0, 0, cxSmallIcon, cySmallIcon);
177  BoxRect = Rect;
178  InflateRect(&BoxRect, -1, -1);
179 
180  HGDIOBJ hbmOld = SelectObject(hDC, hbm);
181  {
184  DrawFrameControl(hDC, &BoxRect, DFC_BUTTON, uState);
185  }
186  SelectObject(hDC, hbmOld);
187 
188  return hbm; // success
189 }
HGDIOBJ WINAPI GetStockObject(_In_ int)
#define DFCS_FLAT
Definition: winuser.h:510
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
#define DFC_BUTTON
Definition: winuser.h:476
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
#define SM_CYSMICON
Definition: winuser.h:1003
#define WHITE_BRUSH
Definition: wingdi.h:901
BOOL WINAPI DrawFrameControl(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
int32_t INT
Definition: typedefs.h:56
smooth NULL
Definition: ftsmooth.c:416
#define DFCS_MONO
Definition: winuser.h:511
int WINAPI GetSystemMetrics(_In_ int)
#define SM_CXSMICON
Definition: winuser.h:1002
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
unsigned int UINT
Definition: ndis.h:50
static HBITMAP
Definition: button.c:44
#define DFCS_BUTTONRADIOMASK
Definition: winuser.h:498
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
struct Rect Rect
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)

Referenced by ViewDlg_CreateTreeImageList().

◆ Options_RunDLL()

EXTERN_C VOID WINAPI Options_RunDLL ( HWND  hWnd,
HINSTANCE  hInst,
LPCSTR  cmd,
DWORD  nCmdShow 
)

Definition at line 299 of file folder_options.cpp.

300 {
302 }
Definition: ftp_var.h:139
static VOID Options_RunDLLCommon(HWND hWnd, HINSTANCE hInst, int fOptions, DWORD nCmdShow)
HWND hWnd
Definition: settings.c:17
HINSTANCE hInst
Definition: dxdiag.c:13
INT WINAPI StrToIntA(LPCSTR lpszStr)
Definition: string.c:374

◆ Options_RunDLLA()

EXTERN_C VOID WINAPI Options_RunDLLA ( HWND  hWnd,
HINSTANCE  hInst,
LPCSTR  cmd,
DWORD  nCmdShow 
)

Definition at line 308 of file folder_options.cpp.

309 {
311 }
Definition: ftp_var.h:139
static VOID Options_RunDLLCommon(HWND hWnd, HINSTANCE hInst, int fOptions, DWORD nCmdShow)
HWND hWnd
Definition: settings.c:17
HINSTANCE hInst
Definition: dxdiag.c:13
INT WINAPI StrToIntA(LPCSTR lpszStr)
Definition: string.c:374

◆ Options_RunDLLCommon()

static VOID Options_RunDLLCommon ( HWND  hWnd,
HINSTANCE  hInst,
int  fOptions,
DWORD  nCmdShow 
)
static

Definition at line 276 of file folder_options.cpp.

277 {
278  switch(fOptions)
279  {
280  case 0:
282  break;
283 
284  case 1:
285  // show taskbar options dialog
286  FIXME("notify explorer to show taskbar options dialog");
287  //PostMessage(GetShellWindow(), WM_USER+22, fOptions, 0);
288  break;
289 
290  default:
291  FIXME("unrecognized options id %d\n", fOptions);
292  }
293 }
static VOID ShowFolderOptionsDialog(HWND hWnd, HINSTANCE hInst)
HWND hWnd
Definition: settings.c:17
#define FIXME(fmt,...)
Definition: debug.h:110
HINSTANCE hInst
Definition: dxdiag.c:13

Referenced by Options_RunDLL(), Options_RunDLLA(), and Options_RunDLLW().

◆ Options_RunDLLW()

EXTERN_C VOID WINAPI Options_RunDLLW ( HWND  hWnd,
HINSTANCE  hInst,
LPCWSTR  cmd,
DWORD  nCmdShow 
)

Definition at line 317 of file folder_options.cpp.

318 {
320 }
Definition: ftp_var.h:139
static VOID Options_RunDLLCommon(HWND hWnd, HINSTANCE hInst, int fOptions, DWORD nCmdShow)
HWND hWnd
Definition: settings.c:17
HINSTANCE hInst
Definition: dxdiag.c:13
INT WINAPI StrToIntW(LPCWSTR lpString)
Definition: string.c:411

◆ PropSheetProc()

static int CALLBACK PropSheetProc ( HWND  hwndDlg,
UINT  uMsg,
LPARAM  lParam 
)
static

Definition at line 209 of file folder_options.cpp.

210 {
211  // NOTE: This callback is needed to set large icon correctly.
212  HICON hIcon;
213  switch (uMsg)
214  {
215  case PSCB_INITIALIZED:
216  {
218  SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
219  break;
220  }
221  }
222  return 0;
223 }
static HICON
Definition: imagelist.c:84
#define IDI_SHELL_FOLDER_OPTIONS
Definition: shresdef.h:577
HINSTANCE shell32_hInstance
Definition: misc.cpp:82
LONG_PTR LPARAM
Definition: windef.h:208
#define PSCB_INITIALIZED
Definition: prsht.h:75
HICON hIcon
Definition: msconfig.c:44
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
Definition: cursoricon.c:2044
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
#define ICON_BIG
Definition: tnclass.cpp:51

Referenced by ShowFolderOptionsDialog().

◆ SHCreatePropSheetExtArrayEx()

EXTERN_C HPSXA WINAPI SHCreatePropSheetExtArrayEx ( HKEY  hKey,
LPCWSTR  pszSubKey,
UINT  max_iface,
IDataObject pDataObj 
)

◆ ShowFolderOptionsDialog()

static VOID ShowFolderOptionsDialog ( HWND  hWnd,
HINSTANCE  hInst 
)
static

Definition at line 226 of file folder_options.cpp.

227 {
228  PROPSHEETHEADERW pinfo;
229  HPROPSHEETPAGE hppages[3];
230  HPROPSHEETPAGE hpage;
231  UINT num_pages = 0;
232  WCHAR szOptions[100];
233 
235  if (hpage)
236  hppages[num_pages++] = hpage;
237 
239  if (hpage)
240  hppages[num_pages++] = hpage;
241 
243  if (hpage)
244  hppages[num_pages++] = hpage;
245 
246  szOptions[0] = 0;
247  LoadStringW(shell32_hInstance, IDS_FOLDER_OPTIONS, szOptions, _countof(szOptions));
248  szOptions[_countof(szOptions) - 1] = 0;
249 
250  // the stub window to hide taskbar button
254  if (!stub.Create(NULL, NULL, NULL, style, exstyle))
255  {
256  ERR("stub.Create failed\n");
257  return;
258  }
259 
260  memset(&pinfo, 0x0, sizeof(PROPSHEETHEADERW));
261  pinfo.dwSize = sizeof(PROPSHEETHEADERW);
262  pinfo.dwFlags = PSH_NOCONTEXTHELP | PSH_USEICONID | PSH_USECALLBACK;
263  pinfo.hwndParent = stub;
264  pinfo.nPages = num_pages;
265  pinfo.phpage = hppages;
267  pinfo.pszCaption = szOptions;
268  pinfo.pfnCallback = PropSheetProc;
269 
270  PropertySheetW(&pinfo);
271 
272  stub.DestroyWindow();
273 }
#define WS_CLIPSIBLINGS
Definition: pedump.c:618
static int CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
#define WS_DISABLED
Definition: pedump.c:621
HWND hwndParent
Definition: prsht.h:277
#define WS_EX_WINDOWEDGE
Definition: winuser.h:407
#define IDI_SHELL_FOLDER_OPTIONS
Definition: shresdef.h:577
GLint x0
Definition: linetemp.h:95
#define _countof(array)
Definition: fontsub.cpp:30
Definition: stubgen.c:11
struct _PROPSHEETHEADERW PROPSHEETHEADERW
#define PSH_USECALLBACK
Definition: prsht.h:48
#define WS_EX_TOOLWINDOW
Definition: winuser.h:404
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
struct _stub stub
#define PSH_USEICONID
Definition: prsht.h:42
HINSTANCE shell32_hInstance
Definition: misc.cpp:82
LPCWSTR pszCaption
Definition: prsht.h:283
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
PFNPROPSHEETCALLBACK pfnCallback
Definition: prsht.h:293
smooth NULL
Definition: ftsmooth.c:416
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
Definition: propsheet.c:2905
#define WS_CAPTION
Definition: pedump.c:624
__wchar_t WCHAR
Definition: xmlstorage.h:180
LPCWSTR pszIcon
Definition: prsht.h:281
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD dwSize
Definition: prsht.h:275
DWORD dwFlags
Definition: prsht.h:276
INT_PTR CALLBACK FolderOptionsFileTypesDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: filetypes.cpp:1665
#define IDD_FOLDER_OPTIONS_GENERAL
Definition: shresdef.h:339
#define IDS_FOLDER_OPTIONS
Definition: resource.h:129
#define IDD_FOLDER_OPTIONS_FILETYPES
Definition: shresdef.h:341
HPROPSHEETPAGE * phpage
Definition: prsht.h:291
#define ERR(fmt,...)
Definition: debug.h:109
#define IDD_FOLDER_OPTIONS_VIEW
Definition: shresdef.h:340
INT_PTR CALLBACK FolderOptionsViewDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: view.cpp:934
unsigned int UINT
Definition: ndis.h:50
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
HPROPSHEETPAGE SH_CreatePropertySheetPage(LPCSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle)
Arabic default style
Definition: afstyles.h:93
#define memset(x, y, z)
Definition: compat.h:39
INT_PTR CALLBACK FolderOptionsGeneralDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: general.cpp:365

Referenced by Options_RunDLLCommon().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( fprop  )

Variable Documentation

◆ g_pszShell32

LPCWSTR g_pszShell32 = L"%SystemRoot%\\system32\\shell32.dll"

Definition at line 33 of file folder_options.cpp.

Referenced by GetFileTypeIconsEx(), and SetFileTypeEntryDefaultIcon().

◆ g_pszSpace

LPCWSTR g_pszSpace = L" \t\n\r\f\v"