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
a90828aa
Commit
a90828aa
authored
Feb 09, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Use GetWindowLongPtr/SetWindowLongPtr for pointers.
parent
d360588a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ole2.c
dlls/ole32/ole2.c
+3
-3
No files found.
dlls/ole32/ole2.c
View file @
a90828aa
...
...
@@ -1963,7 +1963,7 @@ static LRESULT WINAPI OLEDD_DragTrackerWindowProc(
{
LPCREATESTRUCTA
createStruct
=
(
LPCREATESTRUCTA
)
lParam
;
SetWindowLong
A
(
hwnd
,
0
,
(
LONG
)
createStruct
->
lpCreateParams
);
SetWindowLong
PtrA
(
hwnd
,
0
,
(
LONG_PTR
)
createStruct
->
lpCreateParams
);
SetTimer
(
hwnd
,
DRAG_TIMER_ID
,
50
,
NULL
);
break
;
...
...
@@ -1971,7 +1971,7 @@ static LRESULT WINAPI OLEDD_DragTrackerWindowProc(
case
WM_TIMER
:
case
WM_MOUSEMOVE
:
{
OLEDD_TrackMouseMove
((
TrackerWindowInfo
*
)
GetWindowLongA
(
hwnd
,
0
));
OLEDD_TrackMouseMove
((
TrackerWindowInfo
*
)
GetWindowLong
Ptr
A
(
hwnd
,
0
));
break
;
}
case
WM_LBUTTONUP
:
...
...
@@ -1981,7 +1981,7 @@ static LRESULT WINAPI OLEDD_DragTrackerWindowProc(
case
WM_MBUTTONDOWN
:
case
WM_RBUTTONDOWN
:
{
OLEDD_TrackStateChange
((
TrackerWindowInfo
*
)
GetWindowLongA
(
hwnd
,
0
));
OLEDD_TrackStateChange
((
TrackerWindowInfo
*
)
GetWindowLong
Ptr
A
(
hwnd
,
0
));
break
;
}
case
WM_DESTROY
:
...
...
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