Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2a1a48b5
Commit
2a1a48b5
authored
Nov 19, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz: Use the correct types for callbacks.
parent
bfed6e5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
appwiz.c
dlls/appwiz.cpl/appwiz.c
+4
-5
No files found.
dlls/appwiz.cpl/appwiz.c
View file @
2a1a48b5
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment