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
d86c8213
Commit
d86c8213
authored
Mar 09, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activex: add IID_IVLCControl2 as know interface to IObjectSafety
Signed-off-by:
Jean-Paul Saman
<
jean-paul.saman@m2x.nl
>
parent
7113bb57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
projects/activex/objectsafety.cpp
projects/activex/objectsafety.cpp
+5
-4
No files found.
projects/activex/objectsafety.cpp
View file @
d86c8213
/*****************************************************************************
* objectsafety.cpp: ActiveX control for VLC
*****************************************************************************
* Copyright (C) 2005 the VideoLAN team
* Copyright (C) 2005
-2010
the VideoLAN team
*
* Authors: Damien Fouilleul <Damien.Fouilleul@laposte.net>
*
...
...
@@ -44,7 +44,8 @@ STDMETHODIMP VLCObjectSafety::GetInterfaceSafetyOptions(
*
pdwSupportedOptions
=
INTERFACESAFE_FOR_UNTRUSTED_DATA
|
INTERFACESAFE_FOR_UNTRUSTED_CALLER
;
if
(
(
IID_IDispatch
==
riid
)
||
(
IID_IVLCControl
==
riid
)
)
||
(
IID_IVLCControl
==
riid
)
||
(
IID_IVLCControl2
==
riid
)
)
{
*
pdwEnabledOptions
=
INTERFACESAFE_FOR_UNTRUSTED_CALLER
;
return
NOERROR
;
...
...
@@ -68,7 +69,8 @@ STDMETHODIMP VLCObjectSafety::SetInterfaceSafetyOptions(
)
{
if
(
(
IID_IDispatch
==
riid
)
||
(
IID_IVLCControl
==
riid
)
)
||
(
IID_IVLCControl
==
riid
)
||
(
IID_IVLCControl2
==
riid
)
)
{
if
(
(
INTERFACESAFE_FOR_UNTRUSTED_CALLER
==
dwOptionSetMask
)
&&
(
INTERFACESAFE_FOR_UNTRUSTED_CALLER
==
dwEnabledOptions
)
)
...
...
@@ -91,4 +93,3 @@ STDMETHODIMP VLCObjectSafety::SetInterfaceSafetyOptions(
}
return
E_FAIL
;
};
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