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
37ca889b
Commit
37ca889b
authored
Jun 27, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmp: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7c625772
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
Makefile.in
dlls/wmp/Makefile.in
+2
-0
player.c
dlls/wmp/player.c
+1
-1
wmp_private.h
dlls/wmp/wmp_private.h
+1
-2
No files found.
dlls/wmp/Makefile.in
View file @
37ca889b
MODULE
=
wmp.dll
IMPORTS
=
oleaut32 ole32 user32 gdi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
events.c
\
oleobj.c
\
...
...
dlls/wmp/player.c
View file @
37ca889b
...
...
@@ -1435,7 +1435,7 @@ static HRESULT WINAPI WMPControls_get_isAvailable(IWMPControls *iface, BSTR bstr
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrItem
),
pIsAvailable
);
if
(
!
This
->
filter_graph
)
{
*
pIsAvailable
=
VARIANT_FALSE
;
}
else
if
(
strcmpW
(
currentPosition
,
bstrItem
)
==
0
)
{
}
else
if
(
wcscmp
(
currentPosition
,
bstrItem
)
==
0
)
{
DWORD
capabilities
;
IMediaSeeking_GetCapabilities
(
This
->
media_seeking
,
&
capabilities
);
*
pIsAvailable
=
(
capabilities
&
AM_SEEKING_CanSeekAbsolute
)
?
...
...
dlls/wmp/wmp_private.h
View file @
37ca889b
...
...
@@ -20,7 +20,6 @@
#include "windows.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "ole2.h"
#include "dshow.h"
#include "wmp.h"
...
...
@@ -121,7 +120,7 @@ static inline WCHAR *heap_strdupW(const WCHAR *str)
WCHAR
*
ret
;
if
(
str
)
{
size_t
size
=
strlenW
(
str
)
+
1
;
size_t
size
=
l
strlenW
(
str
)
+
1
;
ret
=
heap_alloc
(
size
*
sizeof
(
WCHAR
));
if
(
ret
)
memcpy
(
ret
,
str
,
size
*
sizeof
(
WCHAR
));
...
...
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