Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
081cc1e7
Commit
081cc1e7
authored
Jan 22, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: disable IPC in WinStoreApp mode
IPC and one instance depends on HWND and calls will fail.
parent
5a369686
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/win32/specific.c
src/win32/specific.c
+6
-0
No files found.
src/win32/specific.c
View file @
081cc1e7
...
...
@@ -97,6 +97,7 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
}
}
#if !defined(WINAPI_FAMILY_APP)
if
(
var_InheritBool
(
p_this
,
"one-instance"
)
||
(
var_InheritBool
(
p_this
,
"one-instance-when-started-from-file"
)
&&
var_InheritBool
(
p_this
,
"started-from-file"
)
)
)
...
...
@@ -206,8 +207,10 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
exit
(
0
);
}
}
#endif
}
#if !defined(WINAPI_FAMILY_APP)
static
unsigned
__stdcall
IPCHelperThread
(
void
*
data
)
{
vlc_object_t
*
p_this
=
data
;
...
...
@@ -313,12 +316,14 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
return
DefWindowProc
(
hwnd
,
uMsg
,
wParam
,
lParam
);
}
#endif
/**
* Cleans up after system_Init() and system_Configure().
*/
void
system_End
(
void
)
{
#if !defined(WINAPI_FAMILY_APP)
HWND
ipcwindow
;
/* FIXME: thread-safety... */
...
...
@@ -331,6 +336,7 @@ void system_End(void)
vlc_object_release
(
p_helper
);
p_helper
=
NULL
;
}
#endif
timeEndPeriod
(
5
);
...
...
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