- Merge aicom-network-fixes up to r36740
[reactos.git] / reactos / dll / cpl / appwiz / appwiz.h
1 #ifndef __CPL_APPWIZ_H
2 #define __CPL_APPWIZ_H
3
4 #define COBJMACROS
5 #include <windows.h>
6 #include <windowsx.h> /* GET_X/Y_LPARAM */
7 #include <commctrl.h>
8 #include <cpl.h>
9 #include <prsht.h>
10 #include <stdlib.h>
11 #include <stdio.h>
12 #include <stdarg.h>
13 #include <tchar.h>
14 #include <process.h>
15 #include <prsht.h>
16 #include <shlobj.h>
17 #include <objbase.h>
18 #include <shobjidl.h>
19 #include <shlguid.h>
20
21 #include "resource.h"
22
23 typedef LONG (CALLBACK *CPLAPPLET_PROC)(VOID);
24
25 typedef struct
26 {
27 int idIcon;
28 int idName;
29 int idDescription;
30 CPLAPPLET_PROC AppletProc;
31 } APPLET, *PAPPLET;
32
33 typedef struct
34 {
35 WCHAR szTarget[MAX_PATH];
36 WCHAR szWorkingDirectory[MAX_PATH];
37 WCHAR szDescription[MAX_PATH];
38 WCHAR szLinkName[MAX_PATH];
39 }CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT;
40
41
42 extern HINSTANCE hApplet;
43
44 /* remove.c */
45 INT_PTR CALLBACK
46 RemovePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
47
48 VOID
49 AddListColumn(HWND hList, LPTSTR Caption);
50
51 VOID
52 FillSoftwareList(HWND hwndDlg, BOOL bShowUpdates, UINT Control);
53
54 VOID
55 AddItemsToViewControl(HWND hwndDlg, UINT Control);
56
57 VOID
58 FindItems(HWND hwndDlg, UINT ListControl, UINT EditControl, UINT RemBtn, UINT InfoBtn);
59
60 VOID
61 CallUninstall(HWND hwndDlg, UINT Control, UINT RemBtn, UINT InfoBtn, BOOL isUpdate);
62
63 VOID
64 GetCurrentView(HWND hwndDlg, UINT ViewControl, UINT ListControl);
65
66 VOID
67 CallInformation(HWND hwndDlg, HWND infDlg, UINT Control);
68
69 VOID
70 ShowPopupMenu(HWND hwndDlg, UINT ResMenu, INT xPos, INT yPos, UINT Control);
71
72 BOOL
73 IsItemSelected(HWND hwndDlg, UINT Control);
74
75 VOID
76 ButtonStatus(HWND hwndDlg, BOOL Status, UINT RemBtn, UINT InfoBtn);
77
78 /* add.c */
79 INT_PTR CALLBACK
80 AddPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
81
82 /* rossetup.c */
83 INT_PTR CALLBACK
84 RosPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
85
86 /* createlink.c */
87 INT_PTR CALLBACK
88 WelcomeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
89
90 INT_PTR CALLBACK
91 FinishDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
92
93 LONG CALLBACK
94 NewLinkHere(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2);
95
96 /* updates.c */
97 INT_PTR CALLBACK
98 UpdatesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
99
100 void ShowLastWin32Error(HWND hWndOwner);
101
102 #endif /* __CPL_APPWIZ_H */
103
104 /* EOF */