Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f676cb52
Commit
f676cb52
authored
Oct 04, 2004
by
Vincent Béron
Committed by
Alexandre Julliard
Oct 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create mediaobj.h from mediaobj.idl.
parent
11d550df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
63 deletions
+76
-63
.cvsignore
include/.cvsignore
+1
-0
Makefile.in
include/Makefile.in
+1
-0
mediaobj.h
include/mediaobj.h
+0
-63
mediaobj.idl
include/mediaobj.idl
+74
-0
No files found.
include/.cvsignore
View file @
f676cb52
...
@@ -9,6 +9,7 @@ ddstream.h
...
@@ -9,6 +9,7 @@ ddstream.h
dispex.h
dispex.h
docobj.h
docobj.h
exdisp.h
exdisp.h
mediaobj.h
mlang.h
mlang.h
mmstream.h
mmstream.h
oaidl.h
oaidl.h
...
...
include/Makefile.in
View file @
f676cb52
...
@@ -14,6 +14,7 @@ IDL_SRCS = \
...
@@ -14,6 +14,7 @@ IDL_SRCS = \
dispex.idl
\
dispex.idl
\
docobj.idl
\
docobj.idl
\
exdisp.idl
\
exdisp.idl
\
mediaobj.idl
\
mlang.idl
\
mlang.idl
\
mmstream.idl
\
mmstream.idl
\
oaidl.idl
\
oaidl.idl
\
...
...
include/mediaobj.h
deleted
100644 → 0
View file @
11d550df
/*
* Copyright (C) 2002 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
*/
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __mediaobj_h__
#define __mediaobj_h__
typedef
struct
IDMOQualityControl
IDMOQualityControl
;
typedef
struct
IDMOVideoOutputOptimizations
IDMOVideoOutputOptimizations
;
typedef
struct
IEnumDMO
IEnumDMO
;
typedef
struct
IMediaBuffer
IMediaBuffer
;
typedef
struct
IMediaObject
IMediaObject
;
typedef
struct
IMediaObjectInPlace
IMediaObjectInPlace
;
#include <unknwn.h>
#include <objidl.h>
typedef
struct
_DMOMediaType
{
GUID
majortype
;
GUID
subtype
;
BOOL
bFixedSizeSamples
;
BOOL
bTemporalCompression
;
ULONG
lSampleSize
;
GUID
formattype
;
IUnknown
*
pUnk
;
ULONG
cbFormat
;
BYTE
*
pbFormat
;
}
DMO_MEDIA_TYPE
;
#define INTERFACE IEnumDMO
#define IEnumDMO_METHODS \
IUnknown_METHODS \
STDMETHOD(Next)(THIS_ DWORD cItemsToFetch, CLSID * pCLSID, \
WCHAR ** Names, DWORD * pcItemsFectched) PURE; \
STDMETHOD(Skip)(THIS_ DWORD cItemsToSkip) PURE; \
STDMETHOD(Reset)(THIS) PURE; \
STDMETHOD(Clone)(THIS_ IEnumDMO ** ppEnum) PURE;
DECLARE_INTERFACE_
(
IEnumDMO
,
IUnknown
)
{
IEnumDMO_METHODS
};
#undef INTERFACE
#endif
/* __mediaobj_h__ */
include/mediaobj.idl
0 → 100644
View file @
f676cb52
/*
*
Copyright
(
C
)
2002
Alexandre
Julliard
*
Copyright
(
C
)
2004
Vincent
Bron
*
*
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
(
"#ifndef COM_NO_WINDOWS_H"
)
cpp_quote
(
"#include <windows.h>"
)
cpp_quote
(
"#include <ole2.h>"
)
cpp_quote
(
"#endif"
)
import
"unknwn.idl"
;
import
"objidl.idl"
;
interface
IDMOQualityControl
;
interface
IDMOVideoOutputOptimizations
;
interface
IMediaBuffer
;
interface
IMediaObject
;
interface
IMediaObjectInPlace
;
typedef
struct
_DMOMediaType
{
GUID
majortype
;
GUID
subtype
;
BOOL
bFixedSizeSamples
;
BOOL
bTemporalCompression
;
ULONG
lSampleSize
;
GUID
formattype
;
IUnknown
*
pUnk
;
ULONG
cbFormat
;
BYTE
*
pbFormat
;
}
DMO_MEDIA_TYPE
;
/*****************************************************************************
*
IEnumDMO
interface
*/
[
object
,
uuid
(
2
C3CD98A
-
2B
FA
-
4
A53
-
9
C27
-
5249B
A64BA0F
),
pointer_default
(
unique
)
]
interface
IEnumDMO
:
IUnknown
{
[
local
]
HRESULT
Next
(
[
in
]
DWORD
cItemsToFetch
,
[
out
]
CLSID
*
pCLSID
,
[
out
]
WCHAR
**
Names
,
[
out
]
DWORD
*
pcItemsFetched
)
;
HRESULT
Skip
(
[
in
]
DWORD
cItemsToSkip
)
;
HRESULT
Reset
()
;
HRESULT
Clone
(
[
out
]
IEnumDMO
**
ppEnum
)
;
}
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