Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
dcc72808
Commit
dcc72808
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmvcore: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b3f3e684
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
19 deletions
+18
-19
Makefile.in
dlls/wmvcore/Makefile.in
+0
-1
wmvcore_main.c
dlls/wmvcore/wmvcore_main.c
+5
-5
writer.c
dlls/wmvcore/writer.c
+13
-13
No files found.
dlls/wmvcore/Makefile.in
View file @
dcc72808
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wmvcore.dll
IMPORTLIB
=
wmvcore
IMPORTS
=
kernel32
...
...
dlls/wmvcore/wmvcore_main.c
View file @
dcc72808
...
...
@@ -30,7 +30,7 @@ HRESULT WINAPI winegstreamer_create_wm_sync_reader(IWMSyncReader **reader);
HRESULT
WINAPI
WMCreateReader
(
IUnknown
*
reserved
,
DWORD
rights
,
IWMReader
**
reader
)
{
TRACE
(
"reserved %p, rights %#x, reader %p.
\n
"
,
reserved
,
rights
,
reader
);
TRACE
(
"reserved %p, rights %#
l
x, reader %p.
\n
"
,
reserved
,
rights
,
reader
);
return
winegstreamer_create_wm_async_reader
(
reader
);
}
...
...
@@ -44,7 +44,7 @@ HRESULT WINAPI WMCreateReaderPriv(IWMReader **reader)
HRESULT
WINAPI
WMCreateSyncReader
(
IUnknown
*
reserved
,
DWORD
rights
,
IWMSyncReader
**
reader
)
{
TRACE
(
"reserved %p, rights %#x, reader %p.
\n
"
,
reserved
,
rights
,
reader
);
TRACE
(
"reserved %p, rights %#
l
x, reader %p.
\n
"
,
reserved
,
rights
,
reader
);
return
winegstreamer_create_wm_sync_reader
(
reader
);
}
...
...
@@ -144,7 +144,7 @@ static ULONG WINAPI WMProfileManager_AddRef(IWMProfileManager2 *iface)
WMProfileManager
*
This
=
impl_from_IWMProfileManager2
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -154,7 +154,7 @@ static ULONG WINAPI WMProfileManager_Release(IWMProfileManager2 *iface)
WMProfileManager
*
This
=
impl_from_IWMProfileManager2
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -200,7 +200,7 @@ static HRESULT WINAPI WMProfileManager_GetSystemProfileCount(IWMProfileManager2
static
HRESULT
WINAPI
WMProfileManager_LoadSystemProfile
(
IWMProfileManager2
*
iface
,
DWORD
index
,
IWMProfile
**
ret
)
{
WMProfileManager
*
This
=
impl_from_IWMProfileManager2
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
index
,
ret
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
index
,
ret
);
return
E_NOTIMPL
;
}
...
...
dlls/wmvcore/writer.c
View file @
dcc72808
...
...
@@ -69,7 +69,7 @@ static ULONG WINAPI WMWriter_AddRef(IWMWriter *iface)
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -79,7 +79,7 @@ static ULONG WINAPI WMWriter_Release(IWMWriter *iface)
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -118,21 +118,21 @@ static HRESULT WINAPI WMWriter_GetInputCount(IWMWriter *iface, DWORD *pcInputs)
static
HRESULT
WINAPI
WMWriter_GetInputProps
(
IWMWriter
*
iface
,
DWORD
dwInputNum
,
IWMInputMediaProps
**
input
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
dwInputNum
,
input
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
dwInputNum
,
input
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMWriter_SetInputProps
(
IWMWriter
*
iface
,
DWORD
dwInputNum
,
IWMInputMediaProps
*
input
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
dwInputNum
,
input
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
dwInputNum
,
input
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMWriter_GetInputFormatCount
(
IWMWriter
*
iface
,
DWORD
dwInputNumber
,
DWORD
*
pcFormat
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
dwInputNumber
,
pcFormat
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
dwInputNumber
,
pcFormat
);
return
E_NOTIMPL
;
}
...
...
@@ -140,7 +140,7 @@ static HRESULT WINAPI WMWriter_GetInputFormat(IWMWriter *iface, DWORD dwInputNum
IWMInputMediaProps
**
props
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%
d %
d %p)
\n
"
,
This
,
dwInputNumber
,
dwFormatNumber
,
props
);
FIXME
(
"(%p)->(%
ld %l
d %p)
\n
"
,
This
,
dwInputNumber
,
dwFormatNumber
,
props
);
return
E_NOTIMPL
;
}
...
...
@@ -161,7 +161,7 @@ static HRESULT WINAPI WMWriter_EndWriting(IWMWriter *iface)
static
HRESULT
WINAPI
WMWriter_AllocateSample
(
IWMWriter
*
iface
,
DWORD
size
,
INSSBuffer
**
sample
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
size
,
sample
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
size
,
sample
);
return
E_NOTIMPL
;
}
...
...
@@ -169,7 +169,7 @@ static HRESULT WINAPI WMWriter_WriteSample(IWMWriter *iface, DWORD dwInputNum, Q
DWORD
flags
,
INSSBuffer
*
sample
)
{
WMWriter
*
This
=
impl_from_IWMWriter
(
iface
);
FIXME
(
"(%p)->(%
d %s %
x %p)
\n
"
,
This
,
dwInputNum
,
wine_dbgstr_longlong
(
cnsSampleTime
),
flags
,
sample
);
FIXME
(
"(%p)->(%
ld %s %l
x %p)
\n
"
,
This
,
dwInputNum
,
wine_dbgstr_longlong
(
cnsSampleTime
),
flags
,
sample
);
return
E_NOTIMPL
;
}
...
...
@@ -232,7 +232,7 @@ static HRESULT WINAPI WMWriterAdvanced_GetSinkCount(IWMWriterAdvanced3 *iface, D
static
HRESULT
WINAPI
WMWriterAdvanced_GetSink
(
IWMWriterAdvanced3
*
iface
,
DWORD
sink_num
,
IWMWriterSink
**
sink
)
{
WMWriter
*
This
=
impl_from_IWMWriterAdvanced3
(
iface
);
FIXME
(
"(%p)->(%u %p)
\n
"
,
This
,
sink_num
,
sink
);
FIXME
(
"(%p)->(%
l
u %p)
\n
"
,
This
,
sink_num
,
sink
);
return
E_NOTIMPL
;
}
...
...
@@ -254,7 +254,7 @@ static HRESULT WINAPI WMWriterAdvanced_WriteStreamSample(IWMWriterAdvanced3 *ifa
QWORD
sample_time
,
DWORD
sample_send_time
,
QWORD
sample_duration
,
DWORD
flags
,
INSSBuffer
*
sample
)
{
WMWriter
*
This
=
impl_from_IWMWriterAdvanced3
(
iface
);
FIXME
(
"(%p)->(%u %s %
u %s %
x %p)
\n
"
,
This
,
stream_num
,
wine_dbgstr_longlong
(
sample_time
),
FIXME
(
"(%p)->(%u %s %
lu %s %l
x %p)
\n
"
,
This
,
stream_num
,
wine_dbgstr_longlong
(
sample_time
),
sample_send_time
,
wine_dbgstr_longlong
(
sample_duration
),
flags
,
sample
);
return
E_NOTIMPL
;
}
...
...
@@ -290,7 +290,7 @@ static HRESULT WINAPI WMWriterAdvanced_GetStatistics(IWMWriterAdvanced3 *iface,
static
HRESULT
WINAPI
WMWriterAdvanced_SetSyncTolerance
(
IWMWriterAdvanced3
*
iface
,
DWORD
window
)
{
WMWriter
*
This
=
impl_from_IWMWriterAdvanced3
(
iface
);
FIXME
(
"(%p)->(%u)
\n
"
,
This
,
window
);
FIXME
(
"(%p)->(%
l
u)
\n
"
,
This
,
window
);
return
E_NOTIMPL
;
}
...
...
@@ -305,7 +305,7 @@ static HRESULT WINAPI WMWriterAdvanced2_GetInputSetting(IWMWriterAdvanced3 *ifac
const
WCHAR
*
name
,
WMT_ATTR_DATATYPE
*
time
,
BYTE
*
value
,
WORD
*
length
)
{
WMWriter
*
This
=
impl_from_IWMWriterAdvanced3
(
iface
);
FIXME
(
"(%p)->(%u %s %p %p %p)
\n
"
,
This
,
input_num
,
debugstr_w
(
name
),
time
,
value
,
length
);
FIXME
(
"(%p)->(%
l
u %s %p %p %p)
\n
"
,
This
,
input_num
,
debugstr_w
(
name
),
time
,
value
,
length
);
return
E_NOTIMPL
;
}
...
...
@@ -313,7 +313,7 @@ static HRESULT WINAPI WMWriterAdvanced2_SetInputSetting(IWMWriterAdvanced3 *ifac
const
WCHAR
*
name
,
WMT_ATTR_DATATYPE
type
,
const
BYTE
*
value
,
WORD
length
)
{
WMWriter
*
This
=
impl_from_IWMWriterAdvanced3
(
iface
);
FIXME
(
"(%p)->(%u %s %d %p %u)
\n
"
,
This
,
input_num
,
debugstr_w
(
name
),
type
,
value
,
length
);
FIXME
(
"(%p)->(%
l
u %s %d %p %u)
\n
"
,
This
,
input_num
,
debugstr_w
(
name
),
type
,
value
,
length
);
return
E_NOTIMPL
;
}
...
...
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