appwiz: Use the correct types for callbacks.
This commit is contained in:
parent
bfed6e5f30
commit
2a1a48b586
|
@ -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
|
||||||
*/
|
*/
|
||||||
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
|
||||||
* 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)
|
||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue