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
04d3ba5b
Commit
04d3ba5b
authored
Nov 30, 2012
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fail if we cannot find the TYPELIB resource.
parent
64d71516
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
typelib.c
dlls/oleaut32/typelib.c
+6
-1
No files found.
dlls/oleaut32/typelib.c
View file @
04d3ba5b
...
...
@@ -2509,6 +2509,7 @@ static const IUnknownVtbl TLB_PEFile_Vtable =
static
HRESULT
TLB_PEFile_Open
(
LPCWSTR
path
,
INT
index
,
LPVOID
*
ppBase
,
DWORD
*
pdwTLBLength
,
IUnknown
**
ppFile
)
{
TLB_PEFile
*
This
;
HRESULT
hr
=
TYPE_E_CANTLOADLIBRARY
;
This
=
heap_alloc
(
sizeof
(
TLB_PEFile
));
if
(
!
This
)
...
...
@@ -2543,11 +2544,13 @@ static HRESULT TLB_PEFile_Open(LPCWSTR path, INT index, LPVOID *ppBase, DWORD *p
return
S_OK
;
}
}
hr
=
E_FAIL
;
}
}
TLB_PEFile_Release
((
IUnknown
*
)
&
This
->
lpvtbl
);
return
TYPE_E_CANTLOADLIBRARY
;
return
hr
;
}
typedef
struct
TLB_NEFile
...
...
@@ -2946,6 +2949,8 @@ 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
;
...
...
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