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
d32ada8f
Commit
d32ada8f
authored
Jan 12, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Jan 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Simplify declaration of VTable members.
parent
9dba6509
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
amstream.c
dlls/amstream/amstream.c
+2
-2
mediastream.c
dlls/amstream/mediastream.c
+4
-4
mediastreamfilter.c
dlls/amstream/mediastreamfilter.c
+3
-3
No files found.
dlls/amstream/amstream.c
View file @
d32ada8f
...
...
@@ -35,7 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
amstream
);
typedef
struct
{
IAMMultiMediaStream
lpVtbl
;
const
IAMMultiMediaStreamVtbl
*
lpVtbl
;
LONG
ref
;
IGraphBuilder
*
pFilterGraph
;
IPin
*
ipin
;
...
...
@@ -63,7 +63,7 @@ HRESULT AM_create(IUnknown *pUnkOuter, LPVOID *ppObj)
return
E_OUTOFMEMORY
;
}
object
->
lpVtbl
.
lpVtbl
=
&
AM_Vtbl
;
object
->
lpVtbl
=
&
AM_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
dlls/amstream/mediastream.c
View file @
d32ada8f
...
...
@@ -36,7 +36,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
amstream
);
typedef
struct
{
IMediaStream
lpVtbl
;
const
IMediaStreamVtbl
*
lpVtbl
;
LONG
ref
;
IMultiMediaStream
*
Parent
;
MSPID
PurposeId
;
...
...
@@ -44,7 +44,7 @@ typedef struct {
}
IMediaStreamImpl
;
typedef
struct
{
IDirectDrawMediaStream
lpVtbl
;
const
IDirectDrawMediaStreamVtbl
*
lpVtbl
;
LONG
ref
;
IMultiMediaStream
*
Parent
;
MSPID
PurposeId
;
...
...
@@ -67,7 +67,7 @@ HRESULT MediaStream_create(IMultiMediaStream* Parent, const MSPID* pPurposeId, S
return
E_OUTOFMEMORY
;
}
object
->
lpVtbl
.
lpVtbl
=
&
MediaStream_Vtbl
;
object
->
lpVtbl
=
&
MediaStream_Vtbl
;
object
->
ref
=
1
;
object
->
Parent
=
Parent
;
...
...
@@ -207,7 +207,7 @@ HRESULT DirectDrawMediaStream_create(IMultiMediaStream* Parent, const MSPID* pPu
return
E_OUTOFMEMORY
;
}
object
->
lpVtbl
.
lpVtbl
=
&
DirectDrawMediaStream_Vtbl
;
object
->
lpVtbl
=
&
DirectDrawMediaStream_Vtbl
;
object
->
ref
=
1
;
object
->
Parent
=
Parent
;
...
...
dlls/amstream/mediastreamfilter.c
View file @
d32ada8f
...
...
@@ -36,7 +36,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
amstream
);
typedef
struct
{
IMediaStreamFilter
lpVtbl
;
const
IMediaStreamFilterVtbl
*
lpVtbl
;
LONG
ref
;
CRITICAL_SECTION
csFilter
;
FILTER_STATE
state
;
...
...
@@ -63,7 +63,7 @@ HRESULT MediaStreamFilter_create(IUnknown *pUnkOuter, LPVOID *ppObj)
return
E_OUTOFMEMORY
;
}
object
->
lpVtbl
.
lpVtbl
=
&
MediaStreamFilter_Vtbl
;
object
->
lpVtbl
=
&
MediaStreamFilter_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -120,7 +120,7 @@ static ULONG WINAPI MediaStreamFilterImpl_Release(IMediaStreamFilter * iface)
if
(
!
refCount
)
{
This
->
lpVtbl
.
lpVtbl
=
NULL
;
This
->
lpVtbl
=
NULL
;
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
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