ReactOS 0.4.15-dev-7842-g558ab78
removestartmenuitems.c File Reference
#include "appwiz.h"
Include dependency graph for removestartmenuitems.c:

Go to the source code of this file.

Functions

INT_PTR CALLBACK RemoveStartMenuItemsProc (HWND hwndCPl, UINT Message, WPARAM wParam, LPARAM lParam)
 
LONG CALLBACK ShowRemoveStartMenuItems (HWND hwndCPl, LPWSTR szPath)
 
LONG CALLBACK ConfigStartMenu (HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
 

Function Documentation

◆ ConfigStartMenu()

LONG CALLBACK ConfigStartMenu ( HWND  hwndCPl,
UINT  uMsg,
LPARAM  lParam1,
LPARAM  lParam2 
)

Definition at line 43 of file removestartmenuitems.c.

44{
45 return ShowRemoveStartMenuItems(hwndCPl, (LPWSTR) lParam1);
46}
LONG CALLBACK ShowRemoveStartMenuItems(HWND hwndCPl, LPWSTR szPath)
WCHAR * LPWSTR
Definition: xmlstorage.h:184

◆ RemoveStartMenuItemsProc()

INT_PTR CALLBACK RemoveStartMenuItemsProc ( HWND  hwndCPl,
UINT  Message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 10 of file removestartmenuitems.c.

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}
WPARAM wParam
Definition: combotst.c:138
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static const WCHAR Message[]
Definition: register.c:74
#define LOWORD(l)
Definition: pedump.c:82
#define IDCANCEL
Definition: winuser.h:831
#define WM_COMMAND
Definition: winuser.h:1740
#define WM_INITDIALOG
Definition: winuser.h:1739
#define IDOK
Definition: winuser.h:830
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)

Referenced by ShowRemoveStartMenuItems().

◆ ShowRemoveStartMenuItems()

LONG CALLBACK ShowRemoveStartMenuItems ( HWND  hwndCPl,
LPWSTR  szPath 
)

Definition at line 35 of file removestartmenuitems.c.

36{
38 return TRUE;
39}
HINSTANCE hApplet
Definition: access.c:17
#define IDD_CONFIG_STARTMENU
Definition: resource.h:14
INT_PTR CALLBACK RemoveStartMenuItemsProc(HWND hwndCPl, UINT Message, WPARAM wParam, LPARAM lParam)
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
#define DialogBox
Definition: winuser.h:5761

Referenced by ConfigStartMenu().