ReactOS 0.4.15-dev-5669-g09dde2c
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
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
36{
38 return TRUE;
39}
40
41LONG
43ConfigStartMenu(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
44{
45 return ShowRemoveStartMenuItems(hwndCPl, (LPWSTR) lParam1);
46}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
HINSTANCE hApplet
Definition: access.c:17
#define IDD_CONFIG_STARTMENU
Definition: resource.h:14
#define CALLBACK
Definition: compat.h:35
static const WCHAR Message[]
Definition: register.c:74
LPCWSTR szPath
Definition: env.c:37
unsigned int UINT
Definition: ndis.h:50
#define LOWORD(l)
Definition: pedump.c:82
long LONG
Definition: pedump.c:60
INT_PTR CALLBACK RemoveStartMenuItemsProc(HWND hwndCPl, UINT Message, WPARAM wParam, LPARAM lParam)
LONG CALLBACK ConfigStartMenu(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
LONG CALLBACK ShowRemoveStartMenuItems(HWND hwndCPl, LPWSTR szPath)
int32_t INT_PTR
Definition: typedefs.h:64
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
#define IDCANCEL
Definition: winuser.h:825
#define WM_COMMAND
Definition: winuser.h:1730
#define WM_INITDIALOG
Definition: winuser.h:1729
#define IDOK
Definition: winuser.h:824
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
#define DialogBox
Definition: winuser.h:5751
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WCHAR * LPWSTR
Definition: xmlstorage.h:184