mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
-fixed some warnings (msvc)
svn path=/trunk/; revision=22547
This commit is contained in:
parent
78076d665a
commit
25a5623442
6 changed files with 25 additions and 7 deletions
|
@ -15,6 +15,9 @@ HWND hFreeLdrDialog;
|
|||
INT_PTR CALLBACK
|
||||
FreeLdrPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(lParam)
|
||||
UNREFERENCED_PARAMETER(wParam)
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
hFreeLdrDialog = hDlg;
|
||||
|
|
|
@ -15,6 +15,9 @@ HWND hGeneralDialog;
|
|||
INT_PTR CALLBACK
|
||||
GeneralPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(lParam)
|
||||
UNREFERENCED_PARAMETER(wParam)
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
hGeneralDialog = hDlg;
|
||||
|
|
|
@ -21,12 +21,12 @@ BOOL OnCreate(HWND hWnd)
|
|||
TCITEM item;
|
||||
|
||||
hTabWnd = GetDlgItem(hWnd, IDC_TAB);
|
||||
hGeneralPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_GENERAL_PAGE), hWnd, GeneralPageWndProc);
|
||||
hSystemPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SYSTEM_PAGE), hWnd, SystemPageWndProc);
|
||||
hFreeLdrPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_FREELDR_PAGE), hWnd, FreeLdrPageWndProc);
|
||||
hServicesPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SERVICES_PAGE), hWnd, ServicesPageWndProc);
|
||||
hStartupPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_STARTUP_PAGE), hWnd, StartupPageWndProc);
|
||||
hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd, ToolsPageWndProc);
|
||||
hGeneralPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_GENERAL_PAGE), hWnd, (DLGPROC) GeneralPageWndProc);
|
||||
hSystemPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SYSTEM_PAGE), hWnd, (DLGPROC) SystemPageWndProc);
|
||||
hFreeLdrPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_FREELDR_PAGE), hWnd, (DLGPROC) FreeLdrPageWndProc);
|
||||
hServicesPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SERVICES_PAGE), hWnd, (DLGPROC) ServicesPageWndProc);
|
||||
hStartupPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_STARTUP_PAGE), hWnd, (DLGPROC) StartupPageWndProc);
|
||||
hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd, (DLGPROC) ToolsPageWndProc);
|
||||
|
||||
LoadString(hInst, IDS_MSCONFIG, szTemp, 256);
|
||||
SetWindowText(hWnd, szTemp);
|
||||
|
@ -192,13 +192,17 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
|||
|
||||
INITCOMMONCONTROLSEX InitControls;
|
||||
|
||||
UNREFERENCED_PARAMETER(hPrevInstance)
|
||||
UNREFERENCED_PARAMETER(lpCmdLine)
|
||||
UNREFERENCED_PARAMETER(nCmdShow)
|
||||
|
||||
InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
|
||||
InitControls.dwICC = ICC_TAB_CLASSES | ICC_LISTVIEW_CLASSES;
|
||||
InitCommonControlsEx(&InitControls);
|
||||
|
||||
hInst = hInstance;
|
||||
|
||||
DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL, MsConfigWndProc);
|
||||
DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL, (DLGPROC) MsConfigWndProc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -22,6 +22,9 @@ ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
TCHAR szTemp[256];
|
||||
DWORD dwStyle;
|
||||
|
||||
UNREFERENCED_PARAMETER(lParam)
|
||||
UNREFERENCED_PARAMETER(wParam)
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@ StartupPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
TCHAR szTemp[256];
|
||||
DWORD dwStyle;
|
||||
|
||||
UNREFERENCED_PARAMETER(lParam)
|
||||
UNREFERENCED_PARAMETER(wParam)
|
||||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@ HWND hSystemDialog;
|
|||
INT_PTR CALLBACK
|
||||
SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(lParam)
|
||||
UNREFERENCED_PARAMETER(wParam)
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
hSystemDialog = hDlg;
|
||||
|
|
Loading…
Reference in a new issue