Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b8a4cd33
Commit
b8a4cd33
authored
Apr 30, 2008
by
Jean-Baptiste Kempf
Browse files
Win64 compatible modifications around set/getWindowLong
parent
b942bf2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/win32_specific.c
View file @
b8a4cd33
...
...
@@ -287,8 +287,8 @@ static void IPCHelperThread( vlc_object_t *p_this )
GetModuleHandle
(
NULL
),
/* handle of this program instance */
NULL
);
/* sent to WM_CREATE */
SetWindowLong
(
ipcwindow
,
GWL_WNDPROC
,
(
L
ONG
)
WMCOPYWNDPROC
);
SetWindowLongPtr
(
ipcwindow
,
GWL_USERDATA
,
(
LONG_PTR
)
p_this
);
SetWindowLong
Ptr
(
ipcwindow
,
GWL
P
_WNDPROC
,
(
L
RESULT
)
WMCOPYWNDPROC
);
SetWindowLongPtr
(
ipcwindow
,
GWL
P
_USERDATA
,
(
LONG_PTR
)
p_this
);
/* Signal the creation of the thread and events queue */
vlc_thread_ready
(
p_this
);
...
...
@@ -309,7 +309,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
vlc_object_t
*
p_this
;
playlist_t
*
p_playlist
;
p_this
=
(
vlc_object_t
*
)
GetWindowLongPtr
(
hwnd
,
GWL_USERDATA
);
p_this
=
(
vlc_object_t
*
)
GetWindowLongPtr
(
hwnd
,
GWL
P
_USERDATA
);
if
(
!
p_this
)
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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