From: Vijay Kiran Kamuju <infyquest@gmail.com>
Subject: [PATCH 2/2] dhtmled.ocx: Implement IOleObject::GetMiscStatus function.
Message-Id: <CACfa+KJPbgyb3Pvfz-2vUoTjVr4fHMX+nPyJ57BEjE1v8mqK0w@mail.gmail.com>
Date: Sat, 6 Feb 2021 10:24:31 +0100

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50620

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>

<div dir="ltr">Wine-Bug: <a href="https://bugs.winehq.org/show_bug.cgi?id=50620">https://bugs.winehq.org/show_bug.cgi?id=50620</a><br><br>Signed-off-by: Vijay Kiran Kamuju &lt;<a href="mailto:infyquest@gmail.com">infyquest@gmail.com</a>&gt;<br></div>

From 255964e8439b989f431fc9ddbc9f7c19e7138881 Mon Sep 17 00:00:00 2001
From: Vijay Kiran Kamuju <infyquest@gmail.com>
Date: Sat, 6 Feb 2021 10:16:24 +0100
Subject: [PATCH 2/2] dhtmled.ocx: Implement IOleObject::GetMiscStatus
 function.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50620

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
---
 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 d4de46adf8c..a6c053a2737 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)

-- 
2.30.0