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
9de2ed97
Commit
9de2ed97
authored
Nov 15, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Added LoadTypeLib failure test.
parent
a9aafec2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
typelib.c
dlls/oleaut32/tests/typelib.c
+12
-1
No files found.
dlls/oleaut32/tests/typelib.c
View file @
9de2ed97
...
...
@@ -2813,6 +2813,17 @@ static void test_register_typelib(BOOL system_registration)
DeleteFileA
(
filenameA
);
}
static
void
test_LoadTypeLib
(
void
)
{
ITypeLib
*
tl
;
HRESULT
hres
;
static
const
WCHAR
kernel32_dllW
[]
=
{
'k'
,
'e'
,
'r'
,
'n'
,
'e'
,
'l'
,
'3'
,
'2'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
hres
=
LoadTypeLib
(
kernel32_dllW
,
&
tl
);
ok
(
hres
==
TYPE_E_CANTLOADLIBRARY
,
"LoadTypeLib returned: %08x, expected TYPE_E_CANTLOADLIBRARY
\n
"
,
hres
);
}
START_TEST
(
typelib
)
{
const
char
*
filename
;
...
...
@@ -2839,5 +2850,5 @@ START_TEST(typelib)
test_register_typelib
(
TRUE
);
test_register_typelib
(
FALSE
);
test_create_typelibs
();
test_LoadTypeLib
();
}
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