mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
57 lines
1.1 KiB
C
57 lines
1.1 KiB
C
/*
|
|
* PROJECT: ReactOS Applications Manager
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: base/applications/rapps/installdlg.c
|
|
* PURPOSE: "Download and Install" Dialog
|
|
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
|
|
*/
|
|
|
|
#include "rapps.h"
|
|
|
|
static PAPPLICATION_INFO AppInfo;
|
|
|
|
static
|
|
INT_PTR CALLBACK
|
|
InstallDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|
{
|
|
switch (Msg)
|
|
{
|
|
case WM_INITDIALOG:
|
|
{
|
|
|
|
}
|
|
break;
|
|
|
|
case WM_COMMAND:
|
|
{
|
|
switch (LOWORD(wParam))
|
|
{
|
|
case IDOK:
|
|
case IDCANCEL:
|
|
EndDialog(hDlg, LOWORD(wParam));
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
BOOL
|
|
InstallApplication(INT Index)
|
|
{
|
|
if (!IS_AVAILABLE_ENUM(SelectedEnumType))
|
|
return FALSE;
|
|
|
|
AppInfo = (PAPPLICATION_INFO) ListViewGetlParam(Index);
|
|
if (!AppInfo) return FALSE;
|
|
|
|
DialogBox(hInst,
|
|
MAKEINTRESOURCE(IDD_INSTALL_DIALOG),
|
|
hMainWnd,
|
|
InstallDlgProc);
|
|
|
|
return TRUE;
|
|
}
|