Vijay Kiran Kamuju : dhtmled.ocx: Implement IOleObject::GetMiscStatus function.

Alexandre Julliard julliard at winehq.org
Mon Jun 7 15:02:06 CDT 2021


Module: wine
Branch: stable
Commit: b4031162439374a9e6f355dbe0afb24b559b6422
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b4031162439374a9e6f355dbe0afb24b559b6422

Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date:   Sat Feb  6 10:16:24 2021 +0100

dhtmled.ocx: Implement IOleObject::GetMiscStatus function.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50620
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit d2c2987bcef21c08aacaba95af76ef381e0907e1)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/dhtmled.ocx/Makefile.in | 2 +-
 dlls/dhtmled.ocx/edit.c      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/dhtmled.ocx/Makefile.in b/dlls/dhtmled.ocx/Makefile.in
index c483de93a05..0a890a57d44 100644
--- a/dlls/dhtmled.ocx/Makefile.in
+++ b/dlls/dhtmled.ocx/Makefile.in
@@ -1,5 +1,5 @@
 MODULE    = dhtmled.ocx
-IMPORTS   = uuid
+IMPORTS   = uuid ole32
 
 EXTRADLLFLAGS = -mno-cygwin
 
diff --git a/dlls/dhtmled.ocx/edit.c b/dlls/dhtmled.ocx/edit.c
index 874b6554e59..dfa300b9590 100644
--- a/dlls/dhtmled.ocx/edit.c
+++ b/dlls/dhtmled.ocx/edit.c
@@ -737,9 +737,9 @@ static HRESULT WINAPI OleObject_EnumAdvise(IOleObject *iface, IEnumSTATDATA **ad
 static HRESULT WINAPI OleObject_GetMiscStatus(IOleObject *iface, DWORD aspect, DWORD *status)
 {
     DHTMLEditImpl *This = impl_from_IOleObject(iface);
-    FIXME("(%p)->(%u, %p) stub\n", This, aspect, status);
-    *status = 0;
-    return E_NOTIMPL;
+    TRACE("(%p)->(%u, %p)\n", This, aspect, status);
+
+    return OleRegGetMiscStatus(&CLSID_DHTMLEdit, aspect, status);
 }
 
 static HRESULT WINAPI OleObject_SetColorScheme(IOleObject *iface, LOGPALETTE *palette)




More information about the wine-cvs mailing list