ReactOS  0.4.13-dev-39-g8b6696f
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 
41 LONG
43 ConfigStartMenu(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
44 {
45  return ShowRemoveStartMenuItems(hwndCPl, (LPWSTR) lParam1);
46 }
LONG CALLBACK ShowRemoveStartMenuItems(HWND hwndCPl, LPWSTR szPath)
#define IDD_CONFIG_STARTMENU
Definition: resource.h:14
#define TRUE
Definition: types.h:120
#define IDOK
Definition: winuser.h:824
#define CALLBACK
Definition: compat.h:27
HINSTANCE hApplet
Definition: access.c:17
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:62
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
#define DialogBox
Definition: winuser.h:5627
long LONG
Definition: pedump.c:60
LONG_PTR LPARAM
Definition: windef.h:208
LONG CALLBACK ConfigStartMenu(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
CHAR Message[80]
Definition: alive.c:5
#define WM_COMMAND
Definition: winuser.h:1716
LPCWSTR szPath
Definition: env.c:35
unsigned int UINT
Definition: ndis.h:50
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
WCHAR * LPWSTR
Definition: xmlstorage.h:184
#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
INT_PTR CALLBACK RemoveStartMenuItemsProc(HWND hwndCPl, UINT Message, WPARAM wParam, LPARAM lParam)