ReactOS
0.4.16-dev-197-g92996da
removestartmenuitems.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Software Control Panel
3
* FILE: dll/cpl/appwiz/removestartmenuitems.c
4
* PURPOSE: ReactOS Software Control Panel
5
* PROGRAMMERS: Jared Smudde (computerwhiz02@hotmail.com)
6
*/
7
8
#include "
appwiz.h
"
9
10
INT_PTR
CALLBACK
RemoveStartMenuItemsProc
(
HWND
hwndCPl,
UINT
Message
,
WPARAM
wParam
,
LPARAM
lParam
)
11
{
12
switch
(
Message
)
13
{
14
case
WM_INITDIALOG
:
15
return
TRUE
;
16
17
case
WM_COMMAND
:
18
switch
(
LOWORD
(
wParam
))
19
{
20
case
IDOK
:
21
EndDialog
(hwndCPl,
IDOK
);
22
break
;
23
case
IDCANCEL
:
24
EndDialog
(hwndCPl,
IDCANCEL
);
25
break
;
26
}
27
break
;
28
default
:
29
return
FALSE
;
30
}
31
return
TRUE
;
32
}
33
34
LONG
CALLBACK
35
ShowRemoveStartMenuItems
(
HWND
hwndCPl,
LPWSTR
szPath
)
36
{
37
DialogBox
(
hApplet
,
MAKEINTRESOURCEW
(
IDD_CONFIG_STARTMENU
), hwndCPl,
RemoveStartMenuItemsProc
);
38
return
TRUE
;
39
}
40
41
LONG
42
CALLBACK
43
ConfigStartMenu
(
HWND
hwndCPl,
UINT
uMsg,
LPARAM
lParam1,
LPARAM
lParam2)
44
{
45
return
ShowRemoveStartMenuItems
(hwndCPl, (
LPWSTR
) lParam1);
46
}
appwiz.h
wParam
WPARAM wParam
Definition:
combotst.c:138
lParam
LPARAM lParam
Definition:
combotst.c:139
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
hApplet
HINSTANCE hApplet
Definition:
access.c:17
IDD_CONFIG_STARTMENU
#define IDD_CONFIG_STARTMENU
Definition:
resource.h:14
CALLBACK
#define CALLBACK
Definition:
compat.h:35
Message
static const WCHAR Message[]
Definition:
register.c:74
void
Definition:
nsiface.idl:2307
szPath
LPCWSTR szPath
Definition:
env.c:37
UINT
unsigned int UINT
Definition:
ndis.h:50
LOWORD
#define LOWORD(l)
Definition:
pedump.c:82
LONG
long LONG
Definition:
pedump.c:60
RemoveStartMenuItemsProc
INT_PTR CALLBACK RemoveStartMenuItemsProc(HWND hwndCPl, UINT Message, WPARAM wParam, LPARAM lParam)
Definition:
removestartmenuitems.c:10
ConfigStartMenu
LONG CALLBACK ConfigStartMenu(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
Definition:
removestartmenuitems.c:43
ShowRemoveStartMenuItems
LONG CALLBACK ShowRemoveStartMenuItems(HWND hwndCPl, LPWSTR szPath)
Definition:
removestartmenuitems.c:35
INT_PTR
int32_t INT_PTR
Definition:
typedefs.h:64
LPARAM
LONG_PTR LPARAM
Definition:
windef.h:208
WPARAM
UINT_PTR WPARAM
Definition:
windef.h:207
IDCANCEL
#define IDCANCEL
Definition:
winuser.h:834
WM_COMMAND
#define WM_COMMAND
Definition:
winuser.h:1743
WM_INITDIALOG
#define WM_INITDIALOG
Definition:
winuser.h:1742
IDOK
#define IDOK
Definition:
winuser.h:833
MAKEINTRESOURCEW
#define MAKEINTRESOURCEW(i)
Definition:
winuser.h:582
DialogBox
#define DialogBox
Definition:
winuser.h:5773
EndDialog
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
dll
cpl
appwiz
removestartmenuitems.c
Generated on Wed Oct 30 2024 06:02:45 for ReactOS by
1.9.6