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
b7c50c7d
Commit
b7c50c7d
authored
Mar 15, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix importinfo flags.
parent
e119aceb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
typelib2.c
dlls/oleaut32/typelib2.c
+3
-1
No files found.
dlls/oleaut32/typelib2.c
View file @
b7c50c7d
...
...
@@ -1575,6 +1575,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddRefTypeInfo(
WCHAR
name
[
MAX_PATH
],
*
p
;
TLIBATTR
*
tlibattr
;
TYPEATTR
*
typeattr
;
TYPEKIND
typekind
;
MSFT_GuidEntry
guid
,
*
check_guid
;
MSFT_ImpInfo
impinfo
;
int
guid_offset
,
import_offset
;
...
...
@@ -1641,6 +1642,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddRefTypeInfo(
guid
.
guid
=
typeattr
->
guid
;
guid
.
hreftype
=
This
->
typelib
->
typeinfo_guids
*
12
+
1
;
guid
.
next_hash
=
-
1
;
typekind
=
typeattr
->
typekind
;
ITypeInfo_ReleaseTypeAttr
(
pTInfo
,
typeattr
);
guid_offset
=
ctl2_alloc_guid
(
This
->
typelib
,
&
guid
);
...
...
@@ -1654,7 +1656,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddRefTypeInfo(
This
->
typelib
->
typeinfo_guids
++
;
/* Allocate importinfo */
impinfo
.
flags
=
(
This
->
typekind
<<
24
)
|
MSFT_IMPINFO_OFFSET_IS_GUID
;
impinfo
.
flags
=
(
typekind
<<
24
)
|
MSFT_IMPINFO_OFFSET_IS_GUID
;
impinfo
.
oImpFile
=
import_offset
;
impinfo
.
oGuid
=
guid_offset
;
*
phRefType
=
ctl2_alloc_importinfo
(
This
->
typelib
,
&
impinfo
)
+
1
;
...
...
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