Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
b8a4cd33
Commit
b8a4cd33
authored
Apr 30, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win64 compatible modifications around set/getWindowLong
parent
b942bf2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/win32_specific.c
src/misc/win32_specific.c
+3
-3
No files found.
src/misc/win32_specific.c
View file @
b8a4cd33
...
@@ -287,8 +287,8 @@ static void IPCHelperThread( vlc_object_t *p_this )
...
@@ -287,8 +287,8 @@ static void IPCHelperThread( vlc_object_t *p_this )
GetModuleHandle
(
NULL
),
/* handle of this program instance */
GetModuleHandle
(
NULL
),
/* handle of this program instance */
NULL
);
/* sent to WM_CREATE */
NULL
);
/* sent to WM_CREATE */
SetWindowLong
(
ipcwindow
,
GWL_WNDPROC
,
(
LONG
)
WMCOPYWNDPROC
);
SetWindowLong
Ptr
(
ipcwindow
,
GWLP_WNDPROC
,
(
LRESULT
)
WMCOPYWNDPROC
);
SetWindowLongPtr
(
ipcwindow
,
GWL_USERDATA
,
(
LONG_PTR
)
p_this
);
SetWindowLongPtr
(
ipcwindow
,
GWL
P
_USERDATA
,
(
LONG_PTR
)
p_this
);
/* Signal the creation of the thread and events queue */
/* Signal the creation of the thread and events queue */
vlc_thread_ready
(
p_this
);
vlc_thread_ready
(
p_this
);
...
@@ -309,7 +309,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
...
@@ -309,7 +309,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
vlc_object_t
*
p_this
;
vlc_object_t
*
p_this
;
playlist_t
*
p_playlist
;
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
;
if
(
!
p_this
)
return
0
;
...
...
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