Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
872188c1
Commit
872188c1
authored
Dec 29, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove unneeded casts.
parent
d152d5ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dde_misc.c
dlls/user32/dde_misc.c
+6
-6
No files found.
dlls/user32/dde_misc.c
View file @
872188c1
...
...
@@ -1324,7 +1324,7 @@ HDDEDATA WINAPI DdeAddData(HDDEDATA hData, LPBYTE pSrc, DWORD cb, DWORD cbOff)
if
(
new_sz
>
old_sz
)
{
DdeUnaccessData
(
hData
);
hData
=
GlobalReAlloc
(
(
HGLOBAL
)
hData
,
new_sz
+
sizeof
(
DDE_DATAHANDLE_HEAD
),
hData
=
GlobalReAlloc
(
hData
,
new_sz
+
sizeof
(
DDE_DATAHANDLE_HEAD
),
GMEM_MOVEABLE
|
GMEM_DDESHARE
);
pDst
=
DdeAccessData
(
hData
,
&
old_sz
);
}
...
...
@@ -1394,7 +1394,7 @@ DWORD WINAPI DdeGetData(HDDEDATA hData, LPBYTE pDst, DWORD cbMax, DWORD cbOff)
*/
LPBYTE
WINAPI
DdeAccessData
(
HDDEDATA
hData
,
LPDWORD
pcbDataSize
)
{
HGLOBAL
hMem
=
(
HGLOBAL
)
hData
;
HGLOBAL
hMem
=
hData
;
DDE_DATAHANDLE_HEAD
*
pDdh
;
TRACE
(
"(%p,%p)
\n
"
,
hData
,
pcbDataSize
);
...
...
@@ -1419,7 +1419,7 @@ LPBYTE WINAPI DdeAccessData(HDDEDATA hData, LPDWORD pcbDataSize)
*/
BOOL
WINAPI
DdeUnaccessData
(
HDDEDATA
hData
)
{
HGLOBAL
hMem
=
(
HGLOBAL
)
hData
;
HGLOBAL
hMem
=
hData
;
TRACE
(
"(%p)
\n
"
,
hData
);
...
...
@@ -1434,7 +1434,7 @@ BOOL WINAPI DdeUnaccessData(HDDEDATA hData)
BOOL
WINAPI
DdeFreeDataHandle
(
HDDEDATA
hData
)
{
TRACE
(
"(%p)
\n
"
,
hData
);
return
GlobalFree
(
(
HGLOBAL
)
hData
)
==
0
;
return
GlobalFree
(
hData
)
==
0
;
}
/******************************************************************
...
...
@@ -1447,11 +1447,11 @@ BOOL WDML_IsAppOwned(HDDEDATA hData)
DDE_DATAHANDLE_HEAD
*
pDdh
;
BOOL
ret
=
FALSE
;
pDdh
=
(
DDE_DATAHANDLE_HEAD
*
)
GlobalLock
(
(
HGLOBAL
)
hData
);
pDdh
=
(
DDE_DATAHANDLE_HEAD
*
)
GlobalLock
(
hData
);
if
(
pDdh
!=
NULL
)
{
ret
=
pDdh
->
bAppOwned
;
GlobalUnlock
(
(
HGLOBAL
)
hData
);
GlobalUnlock
(
hData
);
}
return
ret
;
}
...
...
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