Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
84e6bf99
Commit
84e6bf99
authored
Apr 09, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleau32/tests: Fix test failures on Win9x/WinMe by using more A-functions.
parent
54958a21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
typelib.c
dlls/oleaut32/tests/typelib.c
+6
-5
No files found.
dlls/oleaut32/tests/typelib.c
View file @
84e6bf99
...
...
@@ -1967,8 +1967,8 @@ static void test_register_typelib(void)
WCHAR
filename
[
MAX_PATH
];
const
char
*
filenameA
;
ITypeLib
*
typelib
;
WCHAR
key_name
[
MAX_PATH
],
uuid
[
40
];
static
const
WCHAR
formatW
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'f'
,
'a'
,
'c'
,
'e'
,
'\\'
,
'%'
,
's'
,
0
}
;
WCHAR
uuidW
[
40
];
char
key_name
[
MAX_PATH
],
uuid
[
40
]
;
LONG
ret
,
expect_ret
;
UINT
count
,
i
;
HKEY
hkey
;
...
...
@@ -2040,8 +2040,9 @@ static void test_register_typelib(void)
}
StringFromGUID2
(
&
attr
->
guid
,
uuid
,
sizeof
(
uuid
)
/
sizeof
(
uuid
[
0
]));
wsprintfW
(
key_name
,
formatW
,
uuid
);
StringFromGUID2
(
&
attr
->
guid
,
uuidW
,
sizeof
(
uuidW
)
/
sizeof
(
uuidW
[
0
]));
WideCharToMultiByte
(
CP_ACP
,
0
,
uuidW
,
-
1
,
uuid
,
sizeof
(
uuid
),
NULL
,
NULL
);
sprintf
(
key_name
,
"Interface
\\
%s"
,
uuid
);
/* All dispinterfaces will be registered (this includes dual interfaces) as well
as oleautomation interfaces */
...
...
@@ -2051,7 +2052,7 @@ static void test_register_typelib(void)
else
expect_ret
=
ERROR_FILE_NOT_FOUND
;
ret
=
RegOpenKeyEx
W
(
HKEY_CLASSES_ROOT
,
key_name
,
0
,
KEY_READ
,
&
hkey
);
ret
=
RegOpenKeyEx
A
(
HKEY_CLASSES_ROOT
,
key_name
,
0
,
KEY_READ
,
&
hkey
);
ok
(
ret
==
expect_ret
,
"%d: got %d
\n
"
,
i
,
ret
);
if
(
ret
==
ERROR_SUCCESS
)
RegCloseKey
(
hkey
);
...
...
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