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