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
81fc69d7
Commit
81fc69d7
authored
May 24, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Added IDispatch support.
parent
12a134fd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
editor.c
dlls/riched20/editor.c
+1
-0
editor.h
dlls/riched20/editor.h
+2
-0
richole.c
dlls/riched20/richole.c
+0
-0
richole.c
dlls/riched20/tests/richole.c
+15
-5
No files found.
dlls/riched20/editor.c
View file @
81fc69d7
...
...
@@ -2927,6 +2927,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
UnregisterClassW
(
REComboBox20W
,
0
);
LookupCleanup
();
HeapDestroy
(
me_heap
);
release_typelib
();
break
;
}
return
TRUE
;
...
...
dlls/riched20/editor.h
View file @
81fc69d7
...
...
@@ -349,3 +349,5 @@ LRESULT ME_StreamOut(ME_TextEditor *editor, DWORD dwFormat, EDITSTREAM *stream)
/* clipboard.c */
HRESULT
ME_GetDataObject
(
ME_TextEditor
*
editor
,
const
ME_Cursor
*
start
,
int
nChars
,
LPDATAOBJECT
*
lplpdataobj
)
DECLSPEC_HIDDEN
;
void
release_typelib
(
void
)
DECLSPEC_HIDDEN
;
dlls/riched20/richole.c
View file @
81fc69d7
This diff is collapsed.
Click to expand it.
dlls/riched20/tests/richole.c
View file @
81fc69d7
...
...
@@ -1406,6 +1406,7 @@ static void test_dispatch(void)
WCHAR
*
nameW
;
DISPID
dispid
;
HRESULT
hr
;
UINT
count
;
HWND
hwnd
;
create_interfaces
(
&
hwnd
,
&
reOle
,
&
doc
,
NULL
);
...
...
@@ -1418,19 +1419,28 @@ static void test_dispatch(void)
dispid
=
123
;
nameW
=
(
WCHAR
*
)
testnameW
;
hr
=
ITextRange_GetIDsOfNames
(
range
,
&
IID_NULL
,
&
nameW
,
1
,
LOCALE_USER_DEFAULT
,
&
dispid
);
todo_wine
{
ok
(
hr
==
DISP_E_UNKNOWNNAME
,
"got 0x%08x
\n
"
,
hr
);
ok
(
dispid
==
DISPID_UNKNOWN
,
"got %d
\n
"
,
dispid
);
}
dispid
=
123
;
nameW
=
(
WCHAR
*
)
testname2W
;
hr
=
ITextRange_GetIDsOfNames
(
range
,
&
IID_NULL
,
&
nameW
,
1
,
LOCALE_USER_DEFAULT
,
&
dispid
);
todo_wine
{
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
dispid
==
DISPID_VALUE
,
"got %d
\n
"
,
dispid
);
}
ITextRange_Release
(
range
);
release_interfaces
(
&
hwnd
,
&
reOle
,
&
doc
,
NULL
);
/* try dispatch methods on detached range */
hr
=
ITextRange_GetTypeInfoCount
(
range
,
&
count
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
dispid
=
123
;
nameW
=
(
WCHAR
*
)
testname2W
;
hr
=
ITextRange_GetIDsOfNames
(
range
,
&
IID_NULL
,
&
nameW
,
1
,
LOCALE_USER_DEFAULT
,
&
dispid
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
dispid
==
DISPID_VALUE
,
"got %d
\n
"
,
dispid
);
ITextRange_Release
(
range
);
}
static
void
test_ITextFont
(
void
)
...
...
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