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
ba3fa425
Commit
ba3fa425
authored
Oct 07, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Get rid of the WMSyncReader typedef.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e4767ea6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
71 deletions
+72
-71
wm_syncreader.c
dlls/winegstreamer/wm_syncreader.c
+72
-71
No files found.
dlls/winegstreamer/wm_syncreader.c
View file @
ba3fa425
...
...
@@ -22,20 +22,21 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wmvcore
);
typedef
struct
{
struct
sync_reader
{
IWMProfile3
IWMProfile3_iface
;
IWMSyncReader2
IWMSyncReader2_iface
;
LONG
ref
;
}
WMSyncReader
;
};
static
inline
WMSyncR
eader
*
impl_from_IWMSyncReader2
(
IWMSyncReader2
*
iface
)
static
struct
sync_r
eader
*
impl_from_IWMSyncReader2
(
IWMSyncReader2
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
WMSyncR
eader
,
IWMSyncReader2_iface
);
return
CONTAINING_RECORD
(
iface
,
struct
sync_r
eader
,
IWMSyncReader2_iface
);
}
static
HRESULT
WINAPI
WMSyncReader_QueryInterface
(
IWMSyncReader2
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
...
...
@@ -67,7 +68,7 @@ static HRESULT WINAPI WMSyncReader_QueryInterface(IWMSyncReader2 *iface, REFIID
static
ULONG
WINAPI
WMSyncReader_AddRef
(
IWMSyncReader2
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
...
...
@@ -77,7 +78,7 @@ static ULONG WINAPI WMSyncReader_AddRef(IWMSyncReader2 *iface)
static
ULONG
WINAPI
WMSyncReader_Release
(
IWMSyncReader2
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
...
...
@@ -90,21 +91,21 @@ static ULONG WINAPI WMSyncReader_Release(IWMSyncReader2 *iface)
static
HRESULT
WINAPI
WMSyncReader_Close
(
IWMSyncReader2
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p): stub!
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetMaxOutputSampleSize
(
IWMSyncReader2
*
iface
,
DWORD
output
,
DWORD
*
max
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
output
,
max
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetMaxStreamSampleSize
(
IWMSyncReader2
*
iface
,
WORD
stream
,
DWORD
*
max
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream
,
max
);
return
E_NOTIMPL
;
}
...
...
@@ -112,7 +113,7 @@ static HRESULT WINAPI WMSyncReader_GetMaxStreamSampleSize(IWMSyncReader2 *iface,
static
HRESULT
WINAPI
WMSyncReader_GetNextSample
(
IWMSyncReader2
*
iface
,
WORD
stream
,
INSSBuffer
**
sample
,
QWORD
*
sample_time
,
QWORD
*
sample_duration
,
DWORD
*
flags
,
DWORD
*
output_num
,
WORD
*
stream_num
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p %p %p %p %p %p): stub!
\n
"
,
This
,
stream
,
sample
,
sample_time
,
sample_duration
,
flags
,
output_num
,
stream_num
);
return
E_NOTIMPL
;
...
...
@@ -120,7 +121,7 @@ static HRESULT WINAPI WMSyncReader_GetNextSample(IWMSyncReader2 *iface, WORD str
static
HRESULT
WINAPI
WMSyncReader_GetOutputCount
(
IWMSyncReader2
*
iface
,
DWORD
*
outputs
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%p): stub!
\n
"
,
This
,
outputs
);
return
E_NOTIMPL
;
}
...
...
@@ -128,28 +129,28 @@ static HRESULT WINAPI WMSyncReader_GetOutputCount(IWMSyncReader2 *iface, DWORD *
static
HRESULT
WINAPI
WMSyncReader_GetOutputFormat
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
DWORD
format_num
,
IWMOutputMediaProps
**
props
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %u %p): stub!
\n
"
,
This
,
output_num
,
format_num
,
props
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetOutputFormatCount
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
DWORD
*
formats
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
output_num
,
formats
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetOutputNumberForStream
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
DWORD
*
output_num
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
stream_num
,
output_num
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetOutputProps
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
IWMOutputMediaProps
**
output
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
output_num
,
output
);
return
E_NOTIMPL
;
}
...
...
@@ -157,49 +158,49 @@ static HRESULT WINAPI WMSyncReader_GetOutputProps(IWMSyncReader2 *iface, DWORD o
static
HRESULT
WINAPI
WMSyncReader_GetOutputSetting
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
const
WCHAR
*
name
,
WMT_ATTR_DATATYPE
*
type
,
BYTE
*
value
,
WORD
*
length
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %s %p %p %p): stub!
\n
"
,
This
,
output_num
,
debugstr_w
(
name
),
type
,
value
,
length
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetReadStreamSamples
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
BOOL
*
compressed
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream_num
,
compressed
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetStreamNumberForOutput
(
IWMSyncReader2
*
iface
,
DWORD
output
,
WORD
*
stream_num
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
output
,
stream_num
);
return
S_OK
;
}
static
HRESULT
WINAPI
WMSyncReader_GetStreamSelected
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
WMT_STREAM_SELECTION
*
selection
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream_num
,
selection
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_Open
(
IWMSyncReader2
*
iface
,
const
WCHAR
*
filename
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%s): stub!
\n
"
,
This
,
debugstr_w
(
filename
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_OpenStream
(
IWMSyncReader2
*
iface
,
IStream
*
stream
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%p): stub!
\n
"
,
This
,
stream
);
return
S_OK
;
}
static
HRESULT
WINAPI
WMSyncReader_SetOutputProps
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
IWMOutputMediaProps
*
output
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
output_num
,
output
);
return
E_NOTIMPL
;
}
...
...
@@ -207,14 +208,14 @@ static HRESULT WINAPI WMSyncReader_SetOutputProps(IWMSyncReader2 *iface, DWORD o
static
HRESULT
WINAPI
WMSyncReader_SetOutputSetting
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
const
WCHAR
*
name
,
WMT_ATTR_DATATYPE
type
,
const
BYTE
*
value
,
WORD
length
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %s %d %p %d): stub!
\n
"
,
This
,
output_num
,
debugstr_w
(
name
),
type
,
value
,
length
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_SetRange
(
IWMSyncReader2
*
iface
,
QWORD
start
,
LONGLONG
duration
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%s %s): stub!
\n
"
,
This
,
wine_dbgstr_longlong
(
start
),
wine_dbgstr_longlong
(
duration
));
return
E_NOTIMPL
;
}
...
...
@@ -222,14 +223,14 @@ static HRESULT WINAPI WMSyncReader_SetRange(IWMSyncReader2 *iface, QWORD start,
static
HRESULT
WINAPI
WMSyncReader_SetRangeByFrame
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
QWORD
frame_num
,
LONGLONG
frames
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %s %s): stub!
\n
"
,
This
,
stream_num
,
wine_dbgstr_longlong
(
frame_num
),
wine_dbgstr_longlong
(
frames
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_SetReadStreamSamples
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
BOOL
compressed
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %x): stub!
\n
"
,
This
,
stream_num
,
compressed
);
return
E_NOTIMPL
;
}
...
...
@@ -237,7 +238,7 @@ static HRESULT WINAPI WMSyncReader_SetReadStreamSamples(IWMSyncReader2 *iface, W
static
HRESULT
WINAPI
WMSyncReader_SetStreamsSelected
(
IWMSyncReader2
*
iface
,
WORD
stream_count
,
WORD
*
stream_numbers
,
WMT_STREAM_SELECTION
*
selections
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p %p): stub!
\n
"
,
This
,
stream_count
,
stream_numbers
,
selections
);
return
S_OK
;
}
...
...
@@ -245,7 +246,7 @@ static HRESULT WINAPI WMSyncReader_SetStreamsSelected(IWMSyncReader2 *iface, WOR
static
HRESULT
WINAPI
WMSyncReader2_SetRangeByTimecode
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
WMT_TIMECODE_EXTENSION_DATA
*
start
,
WMT_TIMECODE_EXTENSION_DATA
*
end
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p %p): stub!
\n
"
,
This
,
stream_num
,
start
,
end
);
return
E_NOTIMPL
;
}
...
...
@@ -253,7 +254,7 @@ static HRESULT WINAPI WMSyncReader2_SetRangeByTimecode(IWMSyncReader2 *iface, WO
static
HRESULT
WINAPI
WMSyncReader2_SetRangeByFrameEx
(
IWMSyncReader2
*
iface
,
WORD
stream_num
,
QWORD
frame_num
,
LONGLONG
frames_to_read
,
QWORD
*
starttime
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %s %s %p): stub!
\n
"
,
This
,
stream_num
,
wine_dbgstr_longlong
(
frame_num
),
wine_dbgstr_longlong
(
frames_to_read
),
starttime
);
return
E_NOTIMPL
;
...
...
@@ -261,28 +262,28 @@ static HRESULT WINAPI WMSyncReader2_SetRangeByFrameEx(IWMSyncReader2 *iface, WOR
static
HRESULT
WINAPI
WMSyncReader2_SetAllocateForOutput
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
IWMReaderAllocatorEx
*
allocator
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
output_num
,
allocator
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader2_GetAllocateForOutput
(
IWMSyncReader2
*
iface
,
DWORD
output_num
,
IWMReaderAllocatorEx
**
allocator
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
output_num
,
allocator
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader2_SetAllocateForStream
(
IWMSyncReader2
*
iface
,
DWORD
stream_num
,
IWMReaderAllocatorEx
*
allocator
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream_num
,
allocator
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader2_GetAllocateForStream
(
IWMSyncReader2
*
iface
,
DWORD
stream_num
,
IWMReaderAllocatorEx
**
allocator
)
{
WMSyncR
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%d %p): stub!
\n
"
,
This
,
stream_num
,
allocator
);
return
E_NOTIMPL
;
}
...
...
@@ -320,67 +321,67 @@ static const IWMSyncReader2Vtbl WMSyncReader2Vtbl = {
WMSyncReader2_GetAllocateForStream
};
static
inline
WMSyncR
eader
*
impl_from_IWMProfile3
(
IWMProfile3
*
iface
)
static
struct
sync_r
eader
*
impl_from_IWMProfile3
(
IWMProfile3
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
WMSyncR
eader
,
IWMProfile3_iface
);
return
CONTAINING_RECORD
(
iface
,
struct
sync_r
eader
,
IWMProfile3_iface
);
}
static
HRESULT
WINAPI
WMProfile_QueryInterface
(
IWMProfile3
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
return
IWMSyncReader2_QueryInterface
(
&
This
->
IWMSyncReader2_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
WMProfile_AddRef
(
IWMProfile3
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
return
IWMSyncReader2_AddRef
(
&
This
->
IWMSyncReader2_iface
);
}
static
ULONG
WINAPI
WMProfile_Release
(
IWMProfile3
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
return
IWMSyncReader2_Release
(
&
This
->
IWMSyncReader2_iface
);
}
static
HRESULT
WINAPI
WMProfile_GetVersion
(
IWMProfile3
*
iface
,
WMT_VERSION
*
version
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
version
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetName
(
IWMProfile3
*
iface
,
WCHAR
*
name
,
DWORD
*
length
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p, %p
\n
"
,
This
,
name
,
length
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_SetName
(
IWMProfile3
*
iface
,
const
WCHAR
*
name
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %s
\n
"
,
This
,
debugstr_w
(
name
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetDescription
(
IWMProfile3
*
iface
,
WCHAR
*
description
,
DWORD
*
length
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p, %p
\n
"
,
This
,
description
,
length
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_SetDescription
(
IWMProfile3
*
iface
,
const
WCHAR
*
description
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %s
\n
"
,
This
,
debugstr_w
(
description
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetStreamCount
(
IWMProfile3
*
iface
,
DWORD
*
count
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
count
);
if
(
!
count
)
...
...
@@ -392,175 +393,175 @@ static HRESULT WINAPI WMProfile_GetStreamCount(IWMProfile3 *iface, DWORD *count)
static
HRESULT
WINAPI
WMProfile_GetStream
(
IWMProfile3
*
iface
,
DWORD
index
,
IWMStreamConfig
**
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d, %p
\n
"
,
This
,
index
,
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetStreamByNumber
(
IWMProfile3
*
iface
,
WORD
stream
,
IWMStreamConfig
**
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d, %p
\n
"
,
This
,
stream
,
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_RemoveStream
(
IWMProfile3
*
iface
,
IWMStreamConfig
*
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_RemoveStreamByNumber
(
IWMProfile3
*
iface
,
WORD
stream
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d
\n
"
,
This
,
stream
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_AddStream
(
IWMProfile3
*
iface
,
IWMStreamConfig
*
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_ReconfigStream
(
IWMProfile3
*
iface
,
IWMStreamConfig
*
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_CreateNewStream
(
IWMProfile3
*
iface
,
REFGUID
type
,
IWMStreamConfig
**
config
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %s, %p
\n
"
,
This
,
debugstr_guid
(
type
),
config
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetMutualExclusionCount
(
IWMProfile3
*
iface
,
DWORD
*
count
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
count
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_GetMutualExclusion
(
IWMProfile3
*
iface
,
DWORD
index
,
IWMMutualExclusion
**
mutual
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d, %p
\n
"
,
This
,
index
,
mutual
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_RemoveMutualExclusion
(
IWMProfile3
*
iface
,
IWMMutualExclusion
*
mutual
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
mutual
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_AddMutualExclusion
(
IWMProfile3
*
iface
,
IWMMutualExclusion
*
mutual
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
mutual
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile_CreateNewMutualExclusion
(
IWMProfile3
*
iface
,
IWMMutualExclusion
**
mutual
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
mutual
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile2_GetProfileID
(
IWMProfile3
*
iface
,
GUID
*
guid
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
guid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_GetStorageFormat
(
IWMProfile3
*
iface
,
WMT_STORAGE_FORMAT
*
storage
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
storage
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_SetStorageFormat
(
IWMProfile3
*
iface
,
WMT_STORAGE_FORMAT
storage
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d
\n
"
,
This
,
storage
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_GetBandwidthSharingCount
(
IWMProfile3
*
iface
,
DWORD
*
count
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
count
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_GetBandwidthSharing
(
IWMProfile3
*
iface
,
DWORD
index
,
IWMBandwidthSharing
**
bandwidth
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %d, %p
\n
"
,
This
,
index
,
bandwidth
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_RemoveBandwidthSharing
(
IWMProfile3
*
iface
,
IWMBandwidthSharing
*
bandwidth
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
bandwidth
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_AddBandwidthSharing
(
IWMProfile3
*
iface
,
IWMBandwidthSharing
*
bandwidth
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
bandwidth
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_CreateNewBandwidthSharing
(
IWMProfile3
*
iface
,
IWMBandwidthSharing
**
bandwidth
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
bandwidth
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_GetStreamPrioritization
(
IWMProfile3
*
iface
,
IWMStreamPrioritization
**
stream
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
stream
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_SetStreamPrioritization
(
IWMProfile3
*
iface
,
IWMStreamPrioritization
*
stream
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
stream
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_RemoveStreamPrioritization
(
IWMProfile3
*
iface
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_CreateNewStreamPrioritization
(
IWMProfile3
*
iface
,
IWMStreamPrioritization
**
stream
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %p
\n
"
,
This
,
stream
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMProfile3_GetExpectedPacketCount
(
IWMProfile3
*
iface
,
QWORD
duration
,
QWORD
*
packets
)
{
WMSyncR
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
struct
sync_r
eader
*
This
=
impl_from_IWMProfile3
(
iface
);
FIXME
(
"%p, %s, %p
\n
"
,
This
,
wine_dbgstr_longlong
(
duration
),
packets
);
return
E_NOTIMPL
;
}
...
...
@@ -605,7 +606,7 @@ static const IWMProfile3Vtbl WMProfile3Vtbl =
HRESULT
WINAPI
winegstreamer_create_wm_sync_reader
(
IWMSyncReader
**
reader
)
{
WMSyncR
eader
*
object
;
struct
sync_r
eader
*
object
;
TRACE
(
"reader %p.
\n
"
,
reader
);
...
...
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