ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

installdlg.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS Applications Manager
00003  * LICENSE:         GPL - See COPYING in the top level directory
00004  * FILE:            base/applications/rapps/installdlg.c
00005  * PURPOSE:         "Download and Install" Dialog
00006  * PROGRAMMERS:     Dmitry Chapyshev (dmitry@reactos.org)
00007  */
00008 
00009 #include "rapps.h"
00010 
00011 static PAPPLICATION_INFO AppInfo;
00012 
00013 
00014 static
00015 INT_PTR CALLBACK
00016 InstallDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
00017 {
00018     switch (Msg)
00019     {
00020         case WM_INITDIALOG:
00021         {
00022 
00023         }
00024         break;
00025 
00026         case WM_COMMAND:
00027         {
00028             switch (LOWORD(wParam))
00029             {
00030                 case IDOK:
00031                 case IDCANCEL:
00032                     EndDialog(hDlg, LOWORD(wParam));
00033                 break;
00034             }
00035         }
00036         break;
00037     }
00038 
00039     return FALSE;
00040 }
00041 
00042 BOOL
00043 InstallApplication(INT Index)
00044 {
00045     if (!IS_AVAILABLE_ENUM(SelectedEnumType))
00046         return FALSE;
00047 
00048     AppInfo = (PAPPLICATION_INFO) ListViewGetlParam(Index);
00049     if (!AppInfo) return FALSE;
00050 
00051     DialogBox(hInst,
00052               MAKEINTRESOURCE(IDD_INSTALL_DIALOG),
00053               hMainWnd,
00054               InstallDlgProc);
00055 
00056     return TRUE;
00057 }

Generated on Sun May 27 2012 04:17:19 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.