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
1c3127c6
Commit
1c3127c6
authored
Mar 23, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix a test crash on some XP SP1 VM.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
97567074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
typelib.c
dlls/oleaut32/tests/typelib.c
+12
-8
No files found.
dlls/oleaut32/tests/typelib.c
View file @
1c3127c6
...
...
@@ -5710,19 +5710,23 @@ static void test_LoadRegTypeLib(void)
hr
=
LoadRegTypeLib
(
&
LIBID_TestTypelib
,
1
,
7
,
LOCALE_NEUTRAL
,
&
tl
);
ok
(
hr
==
TYPE_E_LIBNOTREGISTERED
,
"got 0x%08x
\n
"
,
hr
);
tl
=
NULL
;
hr
=
LoadRegTypeLib
(
&
LIBID_TestTypelib
,
0xffff
,
0xffff
,
LOCALE_NEUTRAL
,
&
tl
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
ITypeLib_GetLibAttr
(
tl
,
&
attr
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
tl
)
{
hr
=
ITypeLib_GetLibAttr
(
tl
,
&
attr
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
attr
->
lcid
==
0
,
"got %x
\n
"
,
attr
->
lcid
);
ok
(
attr
->
wMajorVerNum
==
2
,
"got %d
\n
"
,
attr
->
wMajorVerNum
);
ok
(
attr
->
wMinorVerNum
==
5
,
"got %d
\n
"
,
attr
->
wMinorVerNum
);
ok
(
attr
->
wLibFlags
==
LIBFLAG_FHASDISKIMAGE
,
"got %x
\n
"
,
attr
->
wLibFlags
);
ok
(
attr
->
lcid
==
0
,
"got %x
\n
"
,
attr
->
lcid
);
ok
(
attr
->
wMajorVerNum
==
2
,
"got %d
\n
"
,
attr
->
wMajorVerNum
);
ok
(
attr
->
wMinorVerNum
==
5
,
"got %d
\n
"
,
attr
->
wMinorVerNum
);
ok
(
attr
->
wLibFlags
==
LIBFLAG_FHASDISKIMAGE
,
"got %x
\n
"
,
attr
->
wLibFlags
);
ITypeLib_ReleaseTLibAttr
(
tl
,
attr
);
ITypeLib_Release
(
tl
);
ITypeLib_ReleaseTLibAttr
(
tl
,
attr
);
ITypeLib_Release
(
tl
);
}
DeleteFileA
(
"test_actctx_tlb.tlb"
);
DeleteFileA
(
"test_actctx_tlb2.tlb"
);
...
...
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