2 * PROJECT: ReactOS Applications Manager
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/rapps/installdlg.cpp
5 * PURPOSE: "Download and Install" Dialog
6 * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
11 #include "available.h"
13 static CAvailableApplicationInfo
* AppInfo
;
17 InstallDlgProc(HWND hDlg
, UINT Msg
, WPARAM wParam
, LPARAM lParam
)
28 switch (LOWORD(wParam
))
32 EndDialog(hDlg
, LOWORD(wParam
));
43 InstallApplication(INT Index
)
45 if (!IsAvailableEnum(SelectedEnumType
))
48 AppInfo
= (CAvailableApplicationInfo
*) ListViewGetlParam(Index
);
49 if (!AppInfo
) return FALSE
;
52 MAKEINTRESOURCEW(IDD_INSTALL_DIALOG
),