Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5ee74004
Commit
5ee74004
authored
Oct 05, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted control.h to idl.
parent
c477d606
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
211 additions
and
8 deletions
+211
-8
filtergraph.c
dlls/quartz/filtergraph.c
+1
-0
.cvsignore
include/.cvsignore
+1
-0
Makefile.in
include/Makefile.in
+1
-2
control.h
include/control.h
+0
-0
control.idl
include/control.idl
+208
-0
uuids.h
include/uuids.h
+0
-6
No files found.
dlls/quartz/filtergraph.c
View file @
5ee74004
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "dshow.h"
#include "wine/debug.h"
#include "strmif.h"
...
...
include/.cvsignore
View file @
5ee74004
...
...
@@ -5,6 +5,7 @@ amvideo.h
austream.h
comcat.h
config.h
control.h
ddstream.h
dispex.h
docobj.h
...
...
include/Makefile.in
View file @
5ee74004
...
...
@@ -10,6 +10,7 @@ IDL_SRCS = \
amvideo.idl
\
austream.idl
\
comcat.idl
\
control.idl
\
ddstream.idl
\
dispex.idl
\
docobj.idl
\
...
...
@@ -52,7 +53,6 @@ WINDOWS_INCLUDES = \
commctrl.h
\
commdlg.h
\
compobj.h
\
control.h
\
cpl.h
\
custcntl.h
\
cvconst.h
\
...
...
@@ -145,7 +145,6 @@ WINDOWS_INCLUDES = \
mciavi.h
\
mcx.h
\
mediaerr.h
\
mediaobj.h
\
minmax.h
\
mmddk.h
\
mmreg.h
\
...
...
include/control.h
deleted
100644 → 0
View file @
c477d606
This diff is collapsed.
Click to expand it.
include/control.idl
0 → 100644
View file @
5ee74004
/*
*
Copyright
(
C
)
2002
Lionel
Ulmer
*
Copyright
(
C
)
2004
Alexandre
Julliard
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
59
Temple
Place
,
Suite
330
,
Boston
,
MA
02111
-
1307
USA
*/
cpp_quote
(
"#if 0"
)
; /* FIXME: these files are not included on Windows */
import
"shldisp.idl"
;
import
"strmif.idl"
;
cpp_quote
(
"#endif"
)
;
interface
IMediaControl
;
interface
IBasicAudio
;
interface
IBasicVideo
;
interface
IVideoWindow
;
interface
IMediaEvent
;
interface
IMediaEventEx
;
typedef
long
OAFilterState
;
typedef
LONG_PTR
OAHWND
;
typedef
LONG_PTR
OAEVENT
;
/*****************************************************************************
*
IMediaControl
interface
*/
[
object
,
uuid
(
56
a868b1
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IMediaControl
:
IDispatch
{
HRESULT
Run
()
;
HRESULT
Pause
()
;
HRESULT
Stop
()
;
HRESULT
GetState
(
[
in
]
LONG
msTimeout
,
[
out
]
OAFilterState
*
pfs
)
;
HRESULT
RenderFile
(
[
in
]
BSTR
strFilename
)
;
HRESULT
AddSourceFilter
(
[
in
]
BSTR
strFilename
,
[
out
]
IDispatch
**
ppUnk
)
;
[
propget
]
HRESULT
FilterCollection
(
[
out
]
IDispatch
**
ppUnk
)
;
[
propget
]
HRESULT
RegFilterCollection
(
[
out
]
IDispatch
**
ppUnk
)
;
HRESULT
StopWhenReady
()
;
}
/*****************************************************************************
*
IBasicAudio
interface
*/
[
object
,
uuid
(
56
a868b3
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IBasicAudio
:
IDispatch
{
[
propput
]
HRESULT
Volume
(
[
in
]
long
lVolume
)
;
[
propget
]
HRESULT
Volume
(
[
out
]
long
*
plVolume
)
;
[
propput
]
HRESULT
Balance
(
[
in
]
long
lBalance
)
;
[
propget
]
HRESULT
Balance
(
[
out
]
long
*
plBalance
)
;
}
/*****************************************************************************
*
IVideoWindow
interface
*/
[
object
,
uuid
(
56
a868b4
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IVideoWindow
:
IDispatch
{
[
propput
]
HRESULT
Caption
(
[
in
]
BSTR
strCaption
)
;
[
propget
]
HRESULT
Caption
(
[
out
]
BSTR
*
strCaption
)
;
[
propput
]
HRESULT
WindowStyle
(
[
in
]
long
WindowStyle
)
;
[
propget
]
HRESULT
WindowStyle
(
[
out
]
long
*
WindowStyle
)
;
[
propput
]
HRESULT
WindowStyleEx
(
[
in
]
long
WindowStyleEx
)
;
[
propget
]
HRESULT
WindowStyleEx
(
[
out
]
long
*
WindowStyleEx
)
;
[
propput
]
HRESULT
AutoShow
(
[
in
]
long
AutoShow
)
;
[
propget
]
HRESULT
AutoShow
(
[
out
]
long
*
AutoShow
)
;
[
propput
]
HRESULT
WindowState
(
[
in
]
long
WindowState
)
;
[
propget
]
HRESULT
WindowState
(
[
out
]
long
*
WindowState
)
;
[
propput
]
HRESULT
BackgroundPalette
(
[
in
]
long
BackgroundPalette
)
;
[
propget
]
HRESULT
BackgroundPalette
(
[
out
]
long
*
pBackgroundPalette
)
;
[
propput
]
HRESULT
Visible
(
[
in
]
long
Visible
)
;
[
propget
]
HRESULT
Visible
(
[
out
]
long
*
pVisible
)
;
[
propput
]
HRESULT
Left
(
[
in
]
long
Left
)
;
[
propget
]
HRESULT
Left
(
[
out
]
long
*
pLeft
)
;
[
propput
]
HRESULT
Width
(
[
in
]
long
Width
)
;
[
propget
]
HRESULT
Width
(
[
out
]
long
*
pWidth
)
;
[
propput
]
HRESULT
Top
(
[
in
]
long
Top
)
;
[
propget
]
HRESULT
Top
(
[
out
]
long
*
pTop
)
;
[
propput
]
HRESULT
Height
(
[
in
]
long
Height
)
;
[
propget
]
HRESULT
Height
(
[
out
]
long
*
pHeight
)
;
[
propput
]
HRESULT
Owner
(
[
in
]
OAHWND
Owner
)
;
[
propget
]
HRESULT
Owner
(
[
out
]
OAHWND
*
Owner
)
;
[
propput
]
HRESULT
MessageDrain
(
[
in
]
OAHWND
Drain
)
;
[
propget
]
HRESULT
MessageDrain
(
[
out
]
OAHWND
*
Drain
)
;
[
propget
]
HRESULT
BorderColor
(
[
out
]
long
*
Color
)
;
[
propput
]
HRESULT
BorderColor
(
[
in
]
long
Color
)
;
[
propget
]
HRESULT
FullScreenMode
(
[
out
]
long
*
FullScreenMode
)
;
[
propput
]
HRESULT
FullScreenMode
(
[
in
]
long
FullScreenMode
)
;
HRESULT
SetWindowForeground
(
[
in
]
long
Focus
)
;
HRESULT
NotifyOwnerMessage
(
[
in
]
OAHWND
hwnd
,
[
in
]
long
uMsg
,
[
in
]
LONG_PTR
wParam
,
[
in
]
LONG_PTR
lParam
)
;
HRESULT
SetWindowPosition
(
[
in
]
long
Left
,
[
in
]
long
Top
,
[
in
]
long
Width
,
[
in
]
long
Height
)
;
HRESULT
GetWindowPosition
(
[
out
]
long
*
pLeft
,
[
out
]
long
*
pTop
,
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
GetMinIdealImageSize
(
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
GetMaxIdealImageSize
(
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
GetRestorePosition
(
[
out
]
long
*
pLeft
,
[
out
]
long
*
pTop
,
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
HideCursor
(
[
in
]
long
HideCursor
)
;
HRESULT
IsCursorHidden
(
[
out
]
long
*
CursorHidden
)
;
}
/*****************************************************************************
*
IBasicVideo
interface
*/
[
object
,
uuid
(
56
a868b5
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IBasicVideo
:
IDispatch
{
[
propget
]
HRESULT
AvgTimePerFrame
(
[
out
]
REFTIME
*
pAvgTimePerFrame
)
;
[
propget
]
HRESULT
BitRate
(
[
out
]
long
*
pBitRate
)
;
[
propget
]
HRESULT
BitErrorRate
(
[
out
]
long
*
pBitErrorRate
)
;
[
propget
]
HRESULT
VideoWidth
(
[
out
]
long
*
pVideoWidth
)
;
[
propget
]
HRESULT
VideoHeight
(
[
out
]
long
*
pVideoHeight
)
;
[
propput
]
HRESULT
SourceLeft
(
[
in
]
long
SourceLeft
)
;
[
propget
]
HRESULT
SourceLeft
(
[
out
]
long
*
pSourceLeft
)
;
[
propput
]
HRESULT
SourceWidth
(
[
in
]
long
SourceWidth
)
;
[
propget
]
HRESULT
SourceWidth
(
[
out
]
long
*
pSourceWidth
)
;
[
propput
]
HRESULT
SourceTop
(
[
in
]
long
SourceTop
)
;
[
propget
]
HRESULT
SourceTop
(
[
out
]
long
*
pSourceTop
)
;
[
propput
]
HRESULT
SourceHeight
(
[
in
]
long
SourceHeight
)
;
[
propget
]
HRESULT
SourceHeight
(
[
out
]
long
*
pSourceHeight
)
;
[
propput
]
HRESULT
DestinationLeft
(
[
in
]
long
DestinationLeft
)
;
[
propget
]
HRESULT
DestinationLeft
(
[
out
]
long
*
pDestinationLeft
)
;
[
propput
]
HRESULT
DestinationWidth
(
[
in
]
long
DestinationWidth
)
;
[
propget
]
HRESULT
DestinationWidth
(
[
out
]
long
*
pDestinationWidth
)
;
[
propput
]
HRESULT
DestinationTop
(
[
in
]
long
DestinationTop
)
;
[
propget
]
HRESULT
DestinationTop
(
[
out
]
long
*
pDestinationTop
)
;
[
propput
]
HRESULT
DestinationHeight
(
[
in
]
long
DestinationHeight
)
;
[
propget
]
HRESULT
DestinationHeight
(
[
out
]
long
*
pDestinationHeight
)
;
HRESULT
SetSourcePosition
(
[
in
]
long
Left
,
[
in
]
long
Top
,
[
in
]
long
Width
,
[
in
]
long
Height
)
;
HRESULT
GetSourcePosition
(
[
out
]
long
*
pLeft
,
[
out
]
long
*
pTop
,
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
SetDefaultSourcePosition
()
;
HRESULT
SetDestinationPosition
(
[
in
]
long
Left
,
[
in
]
long
Top
,
[
in
]
long
Width
,
[
in
]
long
Height
)
;
HRESULT
GetDestinationPosition
(
[
out
]
long
*
pLeft
,
[
out
]
long
*
pTop
,
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
SetDefaultDestinationPosition
()
;
HRESULT
GetVideoSize
(
[
out
]
long
*
pWidth
,
[
out
]
long
*
pHeight
)
;
HRESULT
GetVideoPaletteEntries
(
[
in
]
long
StartIndex
,
[
in
]
long
Entries
,
[
out
]
long
*
pRetrieved
,
[
out
,
size_is
(
Entries
),
length_is
(
*
pRetrieved
)
]
long
*
pPalette
)
;
HRESULT
GetCurrentImage
(
[
in
,
out
]
long
*
pBufferSize
,
[
out
,
size_is
(
*
pBufferSize
),
length_is
(
*
pBufferSize
)
]
long
*
pDIBImage
)
;
HRESULT
IsUsingDefaultSource
()
;
HRESULT
IsUsingDefaultDestination
()
;
}
/*****************************************************************************
*
IMediaEvent
interface
*/
[
object
,
uuid
(
56
a868b6
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IMediaEvent
:
IDispatch
{
HRESULT
GetEventHandle
(
[
out
]
OAEVENT
*
hEvent
)
;
HRESULT
GetEvent
(
[
out
]
long
*
lEventCode
,
[
out
]
LONG_PTR
*
lParam1
,
[
out
]
LONG_PTR
*
lParam2
,
[
in
]
long
msTimeout
)
;
HRESULT
WaitForCompletion
(
[
in
]
long
msTimeout
,
[
out
]
long
*
pEvCode
)
;
HRESULT
CancelDefaultHandling
(
[
in
]
long
lEvCode
)
;
HRESULT
RestoreDefaultHandling
(
[
in
]
long
lEvCode
)
;
HRESULT
FreeEventParams
(
[
in
]
long
lEvCode
,
[
in
]
LONG_PTR
lParam1
,
[
in
]
LONG_PTR
lParam2
)
;
}
/*****************************************************************************
*
IMediaEventEx
interface
*/
[
object
,
uuid
(
56
a868c0
-
0
ad4
-
11
ce
-
b03a
-
0020
af0ba770
),
pointer_default
(
unique
)
]
interface
IMediaEventEx
:
IMediaEvent
{
HRESULT
SetNotifyWindow
(
[
in
]
OAHWND
hwnd
,
[
in
]
long
lMsg
,
[
in
]
LONG_PTR
lInstanceData
)
;
HRESULT
SetNotifyFlags
(
[
in
]
long
lNoNotifyFlags
)
;
HRESULT
GetNotifyFlags
(
[
out
]
long
*
lplNoNotifyFlags
)
;
}
include/uuids.h
View file @
5ee74004
...
...
@@ -271,11 +271,5 @@ OUR_GUID_ENTRY(CLSID_CameraControlPropertyPage, 0x71f96465, 0x78f3, 0x11d0,
OUR_GUID_ENTRY
(
CLSID_AnalogVideoDecoderPropertyPage
,
0x71f96466
,
0x78f3
,
0x11d0
,
0xa1
,
0x8c
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0x89
,
0x56
)
OUR_GUID_ENTRY
(
CLSID_VideoStreamConfigPropertyPage
,
0x71f96467
,
0x78f3
,
0x11d0
,
0xa1
,
0x8c
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0x89
,
0x56
)
OUR_GUID_ENTRY
(
CLSID_HTMLDocument
,
0x25336920
,
0x03f9
,
0x11cf
,
0x8f
,
0xd0
,
0x00
,
0xaa
,
0x00
,
0x68
,
0x6f
,
0x13
)
OUR_GUID_ENTRY
(
IID_IMediaControl
,
0x56a868b1
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
IID_IBasicVideo
,
0x56a868b5
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
IID_IVideoWindow
,
0x56a868b4
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
IID_IMediaEvent
,
0x56a868b6
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
IID_IMediaEventEx
,
0x56a868c0
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
IID_IBasicAudio
,
0x56a868b3
,
0x0ad4
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
#undef OUR_GUID_ENTRY
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