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
bda66cc3
Commit
bda66cc3
authored
Oct 05, 2007
by
Mikolaj Zalewski
Committed by
Alexandre Julliard
Oct 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Function kind for dispatch interfaces should be FUNC_DISPATCH.
parent
3587dfeb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
1 deletion
+46
-1
.gitignore
.gitignore
+1
-0
Makefile.in
dlls/oleaut32/tests/Makefile.in
+4
-1
test_tlb.idl
dlls/oleaut32/tests/test_tlb.idl
+39
-0
typelib.c
dlls/oleaut32/tests/typelib.c
+0
-0
typelib.c
dlls/oleaut32/typelib.c
+2
-0
No files found.
.gitignore
View file @
bda66cc3
...
...
@@ -328,6 +328,7 @@ dlls/oleaut32/liboleaut32.def
dlls/oleaut32/oleaut32.res
dlls/oleaut32/tests/*.ok
dlls/oleaut32/tests/oleaut32_crosstest.exe
dlls/oleaut32/tests/test_tlb.tlb
dlls/oleaut32/tests/testlist.c
dlls/oleaut32/tests/tmarshal.h
dlls/oleaut32/tests/tmarshal.res
...
...
dlls/oleaut32/tests/Makefile.in
View file @
bda66cc3
...
...
@@ -20,7 +20,10 @@ CTESTS = \
RC_SRCS
=
tmarshal.rc
IDL_I_SRCS
=
tmarshal.idl
IDL_TLB_SRCS
=
tmarshal.idl
IDL_TLB_SRCS
=
\
test_tlb.idl
\
tmarshal.idl
@MAKE_TEST_RULES@
...
...
dlls/oleaut32/tests/test_tlb.idl
0 → 100644
View file @
bda66cc3
/*
*
ITypeLib
test
IDL
-
we
dump
it
and
compare
results
in
typelib
.
c
*
*
Copyright
2007
Google
(
Mikolaj
Zalewski
)
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"oaidl.idl"
; /* needed by widl */
[
uuid
(
8b05
fe77
-
4
a6c
-
4133
-
b9cd
-
8
f81747af784
)
]
library
Test
{
importlib
(
"stdole2.tlb"
)
;
[
dual
,
uuid
(
b14b6bb5
-904e-4
ff9
-
b247
-
bd361f7aaedd
)
]
interface
IDualIface
:
IDispatch
{
HRESULT
test
()
;
}
[
uuid
(
ec5dfcd6
-
eeb0
-
4
cd6
-
b51e
-
8030
e1dac009
)
]
interface
ISimpleIface
:
IDispatch
{
HRESULT
test
()
;
}
}
dlls/oleaut32/tests/typelib.c
View file @
bda66cc3
This diff is collapsed.
Click to expand it.
dlls/oleaut32/typelib.c
View file @
bda66cc3
...
...
@@ -4674,6 +4674,8 @@ static HRESULT TLB_AllocAndInitFuncDesc( const FUNCDESC *src, FUNCDESC **dest_pt
if
(
!
dest
)
return
E_OUTOFMEMORY
;
memcpy
(
dest
,
src
,
sizeof
(
FUNCDESC
));
if
(
dispinterface
)
/* overwrite funckind */
dest
->
funckind
=
FUNC_DISPATCH
;
buffer
=
(
char
*
)(
dest
+
1
);
dest
->
lprgscode
=
(
SCODE
*
)
buffer
;
...
...
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