Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
f2042736
Commit
f2042736
authored
Dec 14, 2012
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Dec 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Don't output an error when the typelib cannot be found.
parent
cdec918b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
typelib.c
dlls/oleaut32/typelib.c
+12
-6
No files found.
dlls/oleaut32/typelib.c
View file @
f2042736
...
...
@@ -2544,9 +2544,10 @@ static HRESULT TLB_PEFile_Open(LPCWSTR path, INT index, LPVOID *ppBase, DWORD *p
return
S_OK
;
}
}
hr
=
E_FAIL
;
}
TRACE
(
"No TYPELIB resource found
\n
"
);
hr
=
E_FAIL
;
}
TLB_PEFile_Release
((
IUnknown
*
)
&
This
->
lpvtbl
);
...
...
@@ -2949,8 +2950,6 @@ static HRESULT TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath
ret
=
TYPE_E_CANTLOADLIBRARY
;
IUnknown_Release
(
pFile
);
}
else
ret
=
TYPE_E_CANTLOADLIBRARY
;
if
(
*
ppTypeLib
)
{
ITypeLibImpl
*
impl
=
(
ITypeLibImpl
*
)
*
ppTypeLib
;
...
...
@@ -2966,8 +2965,15 @@ static HRESULT TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath
list_add_head
(
&
tlb_cache
,
&
impl
->
entry
);
LeaveCriticalSection
(
&
cache_section
);
ret
=
S_OK
;
}
else
ERR
(
"Loading of typelib %s failed with error %d
\n
"
,
debugstr_w
(
pszFileName
),
GetLastError
());
}
else
{
if
(
ret
!=
E_FAIL
)
ERR
(
"Loading of typelib %s failed with error %d
\n
"
,
debugstr_w
(
pszFileName
),
GetLastError
());
ret
=
TYPE_E_CANTLOADLIBRARY
;
}
return
ret
;
}
...
...
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