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
b5d2b70d
Commit
b5d2b70d
authored
Jun 12, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdmo: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d94642a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Makefile.in
dlls/msdmo/Makefile.in
+2
-0
dmoreg.c
dlls/msdmo/dmoreg.c
+4
-5
No files found.
dlls/msdmo/Makefile.in
View file @
b5d2b70d
...
...
@@ -2,6 +2,8 @@ MODULE = msdmo.dll
IMPORTLIB
=
msdmo
IMPORTS
=
dmoguids uuid ole32 user32 advapi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
dmoreg.c
\
dmort.c
...
...
dlls/msdmo/dmoreg.c
View file @
b5d2b70d
...
...
@@ -27,7 +27,6 @@
#include "winerror.h"
#include "winreg.h"
#include "objbase.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "dmo.h"
...
...
@@ -121,7 +120,7 @@ static HRESULT string_to_guid(const WCHAR *string, GUID *guid)
{
WCHAR
buffer
[
39
];
buffer
[
0
]
=
'{'
;
strcpyW
(
buffer
+
1
,
string
);
l
strcpyW
(
buffer
+
1
,
string
);
buffer
[
37
]
=
'}'
;
buffer
[
38
]
=
0
;
return
CLSIDFromString
(
buffer
,
guid
);
...
...
@@ -218,7 +217,7 @@ HRESULT WINAPI DMORegister(
/* Set default Name value */
ret
=
RegSetValueExW
(
hkey
,
NULL
,
0
,
REG_SZ
,
(
const
BYTE
*
)
szName
,
(
strlenW
(
szName
)
+
1
)
*
sizeof
(
WCHAR
));
(
l
strlenW
(
szName
)
+
1
)
*
sizeof
(
WCHAR
));
/* Set InputTypes */
hres
=
write_types
(
hkey
,
szDMOInputType
,
pInTypes
,
cInTypes
);
...
...
@@ -663,9 +662,9 @@ static HRESULT WINAPI IEnumDMO_fnNext(
Names
[
count
]
=
NULL
;
if
(
ret
==
ERROR_SUCCESS
)
{
Names
[
count
]
=
CoTaskMemAlloc
((
strlenW
(
szValue
)
+
1
)
*
sizeof
(
WCHAR
));
Names
[
count
]
=
CoTaskMemAlloc
((
l
strlenW
(
szValue
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
Names
[
count
])
strcpyW
(
Names
[
count
],
szValue
);
l
strcpyW
(
Names
[
count
],
szValue
);
}
}
wsprintfW
(
szGuidKey
,
szToGuidFmt
,
szNextKey
);
...
...
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