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

INT_PTR CALLBACK LanguagesPageProc ( HWND  hwndDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 5 of file languages.c.

Referenced by Applet().

{
    SHELLEXECUTEINFO shInputDll;

    switch (uMsg)
    {
        case WM_INITDIALOG:
            break;

        case WM_COMMAND:
            switch (LOWORD(wParam))
            {
                /* If "detail" button pressed */
                case IDC_DETAIL_BUTTON:
                    if (HIWORD(wParam) == BN_CLICKED)
                    {
                        memset(&shInputDll, 0x0, sizeof(SHELLEXECUTEINFO));
                        shInputDll.cbSize = sizeof(shInputDll);
                        shInputDll.hwnd = hwndDlg;
                        shInputDll.lpVerb = _T("open");
                        shInputDll.lpFile = _T("RunDll32.exe");
                        shInputDll.lpParameters = _T("shell32.dll,Control_RunDLL input.dll");
                        if (ShellExecuteEx(&shInputDll) == 0)
                        {
                            MessageBox(NULL,
                                       _T("Can't start input.dll"),
                                       _T("Error"),
                                       MB_OK | MB_ICONERROR);
                        }
                    }
                    break;
            }
            break;
    }
    return FALSE;
}

Generated on Sat May 26 2012 04:59:21 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.