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
85ef4565
Commit
85ef4565
authored
Apr 26, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the DDE PFNCALLBACK prototype.
parent
3795a081
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
shlexec.c
dlls/shell32/shlexec.c
+2
-2
dde_private.h
dlls/user/dde/dde_private.h
+1
-1
misc.c
dlls/user/dde/misc.c
+1
-1
server.c
dlls/user/dde/server.c
+4
-4
ddeml.h
include/ddeml.h
+1
-1
No files found.
dlls/shell32/shlexec.c
View file @
85ef4565
...
...
@@ -713,8 +713,8 @@ UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOperation,
* callback for the DDE connection. not really usefull
*/
static
HDDEDATA
CALLBACK
dde_cb
(
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hData
,
DWORD
dwData1
,
DWORD
dwData2
)
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hData
,
ULONG_PTR
dwData1
,
ULONG_PTR
dwData2
)
{
return
NULL
;
}
...
...
dlls/user/dde/dde_private.h
View file @
85ef4565
...
...
@@ -188,7 +188,7 @@ typedef enum {
extern
HDDEDATA
WDML_InvokeCallback
(
WDML_INSTANCE
*
pInst
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
DWORD
dwData1
,
DWORD
dwData2
);
ULONG_PTR
dwData1
,
ULONG_PTR
dwData2
);
extern
HDDEDATA
WDML_InvokeCallback16
(
PFNCALLBACK
pfn
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
DWORD
dwData1
,
DWORD
dwData2
);
...
...
dlls/user/dde/misc.c
View file @
85ef4565
...
...
@@ -717,7 +717,7 @@ void WDML_NotifyThreadDetach(void)
*/
HDDEDATA
WDML_InvokeCallback
(
WDML_INSTANCE
*
pInstance
,
UINT
uType
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
hdata
,
DWORD
dwData1
,
DWORD
dwData2
)
ULONG_PTR
dwData1
,
ULONG_PTR
dwData2
)
{
HDDEDATA
ret
;
...
...
dlls/user/dde/server.c
View file @
85ef4565
...
...
@@ -458,7 +458,7 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
{
/* pass on to the callback */
hDdeData
=
WDML_InvokeCallback
(
pInstance
,
XTYP_CONNECT
,
0
,
0
,
hszTop
,
hszApp
,
0
,
(
DWORD
)
pcc
,
self
);
0
,
0
,
hszTop
,
hszApp
,
0
,
(
ULONG_PTR
)
pcc
,
self
);
if
((
UINT
)
hDdeData
)
{
pConv
=
WDML_CreateServerConv
(
pInstance
,
hwndClient
,
hwndServer
,
...
...
@@ -467,7 +467,7 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
{
if
(
pcc
)
pConv
->
wStatus
|=
ST_ISLOCAL
;
WDML_InvokeCallback
(
pInstance
,
XTYP_CONNECT_CONFIRM
,
0
,
(
HCONV
)
pConv
,
hszTop
,
hszApp
,
0
,
(
DWORD
)
pcc
,
self
);
hszTop
,
hszApp
,
0
,
(
ULONG_PTR
)
pcc
,
self
);
}
}
}
...
...
@@ -476,7 +476,7 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
{
/* pass on to the callback */
hDdeData
=
WDML_InvokeCallback
(
pInstance
,
XTYP_WILDCONNECT
,
0
,
0
,
hszTop
,
hszApp
,
0
,
(
DWORD
)
pcc
,
self
);
0
,
0
,
hszTop
,
hszApp
,
0
,
(
ULONG_PTR
)
pcc
,
self
);
if
(
hDdeData
==
(
HDDEDATA
)
CBR_BLOCK
)
{
...
...
@@ -499,7 +499,7 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
{
if
(
pcc
)
pConv
->
wStatus
|=
ST_ISLOCAL
;
WDML_InvokeCallback
(
pInstance
,
XTYP_CONNECT_CONFIRM
,
0
,
(
HCONV
)
pConv
,
hszp
[
i
].
hszTopic
,
hszp
[
i
].
hszSvc
,
0
,
(
DWORD
)
pcc
,
self
);
hszp
[
i
].
hszTopic
,
hszp
[
i
].
hszSvc
,
0
,
(
ULONG_PTR
)
pcc
,
self
);
}
}
DdeUnaccessData
(
hDdeData
);
...
...
include/ddeml.h
View file @
85ef4565
...
...
@@ -287,7 +287,7 @@ DECLARE_HANDLE(HDDEDATA);
*******************************************************/
typedef
HDDEDATA
(
CALLBACK
*
PFNCALLBACK
)(
UINT
,
UINT
,
HCONV
,
HSZ
,
HSZ
,
HDDEDATA
,
DWORD
,
DWORD
);
HDDEDATA
,
ULONG_PTR
,
ULONG_PTR
);
/***************************************************
...
...
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