Commit 2a1a48b5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

appwiz: Use the correct types for callbacks.

parent bfed6e5f
...@@ -592,7 +592,7 @@ static void SetInfoDialogText(HKEY hKey, LPCWSTR lpKeyName, LPCWSTR lpAltMessage ...@@ -592,7 +592,7 @@ static void SetInfoDialogText(HKEY hKey, LPCWSTR lpKeyName, LPCWSTR lpAltMessage
* lParam - additional parameter * lParam - additional parameter
* Returns : Depends on the message * Returns : Depends on the message
*/ */
static BOOL CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) static INT_PTR CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{ {
APPINFO *iter; APPINFO *iter;
HKEY hkey; HKEY hkey;
...@@ -681,8 +681,7 @@ static BOOL CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPAR ...@@ -681,8 +681,7 @@ static BOOL CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPAR
*/ */
static void SupportInfo(HWND hWnd, int id) static void SupportInfo(HWND hWnd, int id)
{ {
DialogBoxParamW(hInst, MAKEINTRESOURCEW(IDD_INFO), hWnd, (DLGPROC) DialogBoxParamW(hInst, MAKEINTRESOURCEW(IDD_INFO), hWnd, SupportInfoDlgProc, id);
SupportInfoDlgProc, (LPARAM) id);
} }
/* Definition of column headers for AddListViewColumns function */ /* Definition of column headers for AddListViewColumns function */
...@@ -822,7 +821,7 @@ static HIMAGELIST ResetApplicationList(BOOL bFirstRun, HWND hWnd, HIMAGELIST hIm ...@@ -822,7 +821,7 @@ static HIMAGELIST ResetApplicationList(BOOL bFirstRun, HWND hWnd, HIMAGELIST hIm
* lParam - additional parameter * lParam - additional parameter
* Returns : Depends on the message * Returns : Depends on the message
*/ */
static BOOL CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) static INT_PTR CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{ {
int selitem; int selitem;
static HIMAGELIST hImageList; static HIMAGELIST hImageList;
...@@ -947,7 +946,7 @@ static void StartApplet(HWND hWnd) ...@@ -947,7 +946,7 @@ static void StartApplet(HWND hWnd)
psp.hInstance = hInst; psp.hInstance = hInst;
psp.u.pszTemplate = MAKEINTRESOURCEW (IDD_MAIN); psp.u.pszTemplate = MAKEINTRESOURCEW (IDD_MAIN);
psp.u2.pszIcon = NULL; psp.u2.pszIcon = NULL;
psp.pfnDlgProc = (DLGPROC) MainDlgProc; psp.pfnDlgProc = MainDlgProc;
psp.pszTitle = tab_title; psp.pszTitle = tab_title;
psp.lParam = 0; psp.lParam = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment