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
d223716b
Commit
d223716b
authored
Oct 14, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdmo: Fix the DMOGetName() prototype.
parent
5e336f45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dmoreg.c
dlls/msdmo/dmoreg.c
+2
-2
dmoreg.h
include/dmoreg.h
+1
-1
win32.api
tools/winapi/win32.api
+1
-1
No files found.
dlls/msdmo/dmoreg.c
View file @
d223716b
...
...
@@ -291,7 +291,7 @@ lend:
*
* Get DMP Name from the registry
*/
HRESULT
WINAPI
DMOGetName
(
REFCLSID
clsidDMO
,
WCHAR
*
szName
)
HRESULT
WINAPI
DMOGetName
(
REFCLSID
clsidDMO
,
WCHAR
szName
[
80
]
)
{
WCHAR
szguid
[
64
];
HRESULT
hres
;
...
...
@@ -311,7 +311,7 @@ HRESULT WINAPI DMOGetName(REFCLSID clsidDMO, WCHAR* szName)
if
(
ERROR_SUCCESS
!=
hres
)
goto
lend
;
count
=
80
*
sizeof
(
WCHAR
);
/* 80 by API definition */
count
=
sizeof
(
szName
);
hres
=
RegQueryValueExW
(
hkey
,
NULL
,
NULL
,
NULL
,
(
LPBYTE
)
szName
,
&
count
);
...
...
include/dmoreg.h
View file @
d223716b
...
...
@@ -44,7 +44,7 @@ HRESULT WINAPI DMOEnum(REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,DWORD,
const
DMO_PARTIAL_MEDIATYPE
*
,
IEnumDMO
**
);
HRESULT
WINAPI
DMOGetTypes
(
REFCLSID
,
ULONG
,
ULONG
*
,
DMO_PARTIAL_MEDIATYPE
*
,
ULONG
,
ULONG
*
,
DMO_PARTIAL_MEDIATYPE
*
);
HRESULT
WINAPI
DMOGetName
(
REFCLSID
,
WCHAR
*
);
HRESULT
WINAPI
DMOGetName
(
REFCLSID
,
WCHAR
[
80
]
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_DECODER
,
0x57f2db8b
,
0xe6bb
,
0x4513
,
0x9d
,
0x43
,
0xdc
,
0xd2
,
0xa6
,
0x59
,
0x31
,
0x25
);
...
...
tools/winapi/win32.api
View file @
d223716b
...
...
@@ -2664,7 +2664,7 @@ ULONG *
%wstr
LPCWSTR
WCHAR
*
WCHAR
[80]
%%msg711.acm
...
...
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