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
d904d135
Commit
d904d135
authored
Feb 08, 2009
by
Ricardo Filipe
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fix commdlg hook procedures return type.
parent
0b306421
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
filedlg.c
dlls/comdlg32/tests/filedlg.c
+2
-2
commdlg.h
include/commdlg.h
+3
-3
framewnd.c
programs/regedit/framewnd.c
+1
-1
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
d904d135
...
...
@@ -29,7 +29,7 @@
/* ##### */
static
UINT
CALLBACK
OFNHookProc
(
HWND
hDlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
UINT
_PTR
CALLBACK
OFNHookProc
(
HWND
hDlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
LPNMHDR
nmh
;
...
...
@@ -135,7 +135,7 @@ static void test_DialogCancel(void)
}
}
static
UINT
CALLBACK
create_view_window2_hook
(
HWND
dlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
UINT
_PTR
CALLBACK
create_view_window2_hook
(
HWND
dlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
if
(
msg
==
WM_NOTIFY
)
{
...
...
include/commdlg.h
View file @
d904d135
...
...
@@ -72,7 +72,7 @@ extern "C" {
#define SAVE_DIALOG 1
#define OPEN_DIALOG 2
typedef
UINT
(
CALLBACK
*
LPOFNHOOKPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
UINT
_PTR
(
CALLBACK
*
LPOFNHOOKPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
struct
tagOFNA
{
DWORD
lStructSize
;
...
...
@@ -168,7 +168,7 @@ typedef struct _OFNOTIFYEXW
DECL_WINELIB_TYPE_AW
(
OFNOTIFYEX
)
DECL_WINELIB_TYPE_AW
(
LPOFNOTIFYEX
)
typedef
UINT
(
CALLBACK
*
LPCCHOOKPROC
)
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
UINT
_PTR
(
CALLBACK
*
LPCCHOOKPROC
)
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
struct
{
DWORD
lStructSize
;
...
...
@@ -210,7 +210,7 @@ DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR)
#define CC_SOLIDCOLOR 0x00000080
#define CC_ANYCOLOR 0x00000100
typedef
UINT
(
CALLBACK
*
LPFRHOOKPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
UINT
_PTR
(
CALLBACK
*
LPFRHOOKPROC
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
struct
{
DWORD
lStructSize
;
...
...
programs/regedit/framewnd.c
View file @
d904d135
...
...
@@ -259,7 +259,7 @@ static void ExportRegistryFile_StoreSelection(HWND hdlg, OPENFILENAMEW *pOpenFil
pOpenFileName
->
lCustData
=
(
LPARAM
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
WCHAR
));
}
static
UINT
CALLBACK
ExportRegistryFile_OFNHookProc
(
HWND
hdlg
,
UINT
uiMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
UINT
_PTR
CALLBACK
ExportRegistryFile_OFNHookProc
(
HWND
hdlg
,
UINT
uiMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
static
OPENFILENAMEW
*
pOpenFileName
;
OFNOTIFYW
*
pOfNotify
;
...
...
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