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
6dbe300f
Commit
6dbe300f
authored
Oct 30, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows: use C++ prototype for REFIID / CoCreateInstance
Fix build with mingw-w64
parent
2287e147
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
include/vlc_windows_interfaces.h
include/vlc_windows_interfaces.h
+6
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-1
modules/gui/qt4/main_interface_win32.cpp
modules/gui/qt4/main_interface_win32.cpp
+1
-1
No files found.
include/vlc_windows_interfaces.h
View file @
6dbe300f
...
@@ -32,8 +32,13 @@
...
@@ -32,8 +32,13 @@
#define CLSCTX_INPROC_SERVER 1
#define CLSCTX_INPROC_SERVER 1
typedef
GUID
IID
;
typedef
GUID
IID
;
#ifndef _REFIID_DEFINED
#ifndef _REFIID_DEFINED
# ifdef __cplusplus
# define REFIID const IID&
# else
# define REFIID const IID* const
# define REFIID const IID* const
# endif
#endif
#endif
const
GUID
clsid_IApplication2
=
{
0x1968106d
,
0xf3b5
,
0x44cf
,{
0x89
,
0x0e
,
0x11
,
0x6f
,
0xcb
,
0x9e
,
0xce
,
0xf1
}};
const
GUID
clsid_IApplication2
=
{
0x1968106d
,
0xf3b5
,
0x44cf
,{
0x89
,
0x0e
,
0x11
,
0x6f
,
0xcb
,
0x9e
,
0xce
,
0xf1
}};
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
6dbe300f
...
@@ -888,7 +888,7 @@ void SPrefsPanel::assoDialog()
...
@@ -888,7 +888,7 @@ void SPrefsPanel::assoDialog()
if
(
S_OK
==
CoCreateInstance
(
&
clsid_IApplication2
,
if
(
S_OK
==
CoCreateInstance
(
&
clsid_IApplication2
,
NULL
,
CLSCTX_INPROC_SERVER
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IApplicationAssociationRegistrationUI
,
IID_IApplicationAssociationRegistrationUI
,
(
void
**
)
&
p_appassoc
)
)
(
void
**
)
&
p_appassoc
)
)
{
{
if
(
S_OK
==
p_appassoc
->
vt
->
LaunchAdvancedAssociationUI
(
p_appassoc
,
L"VLC"
)
)
if
(
S_OK
==
p_appassoc
->
vt
->
LaunchAdvancedAssociationUI
(
p_appassoc
,
L"VLC"
)
)
...
...
modules/gui/qt4/main_interface_win32.cpp
View file @
6dbe300f
...
@@ -81,7 +81,7 @@ void MainInterface::createTaskBarButtons()
...
@@ -81,7 +81,7 @@ void MainInterface::createTaskBarButtons()
if
(
S_OK
==
CoCreateInstance
(
&
clsid_ITaskbarList
,
if
(
S_OK
==
CoCreateInstance
(
&
clsid_ITaskbarList
,
NULL
,
CLSCTX_INPROC_SERVER
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_ITaskbarList3
,
IID_ITaskbarList3
,
(
void
**
)
&
p_taskbl
)
)
(
void
**
)
&
p_taskbl
)
)
{
{
p_taskbl
->
vt
->
HrInit
(
p_taskbl
);
p_taskbl
->
vt
->
HrInit
(
p_taskbl
);
...
...
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