ReactOS  0.4.14-dev-52-g6116262
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 }
#define TRUE
Definition: types.h:120
#define IDOK
Definition: winuser.h:824
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
CHAR Message[80]
Definition: alive.c:5
#define WM_COMMAND
Definition: winuser.h:1722
#define IDCANCEL
Definition: winuser.h:825
#define WM_INITDIALOG
Definition: winuser.h:1721
#define LOWORD(l)
Definition: pedump.c:82

Referenced by ShowRemoveStartMenuItems().

◆ ShowRemoveStartMenuItems()

LONG CALLBACK ShowRemoveStartMenuItems ( HWND  hwndCPl,
LPWSTR  szPath 
)

Definition at line 35 of file removestartmenuitems.c.

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

Referenced by ConfigStartMenu().