Jacek Caban : mshtml: Use DWORD for event id argument in node-specific event handlers.

Alexandre Julliard julliard at winehq.org
Mon Jul 16 14:40:00 CDT 2018


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jul 16 12:28:18 2018 +0200

mshtml: Use DWORD for event id argument in node-specific event handlers.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/htmlanchor.c | 2 +-
 dlls/mshtml/htmlarea.c   | 2 +-
 dlls/mshtml/htmlform.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index 7c845bb..2f53a3b 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -727,7 +727,7 @@ static HRESULT HTMLAnchorElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
     return HTMLElement_QI(&This->element.node, riid, ppv);
 }
 
-static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid, nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLAnchorElement *This = impl_from_HTMLDOMNode(iface);
     nsAString href_str, target_str;
diff --git a/dlls/mshtml/htmlarea.c b/dlls/mshtml/htmlarea.c
index 4fe03bf..a5ebfe7 100644
--- a/dlls/mshtml/htmlarea.c
+++ b/dlls/mshtml/htmlarea.c
@@ -403,7 +403,7 @@ static HRESULT HTMLAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
     return S_OK;
 }
 
-static HRESULT HTMLAreaElement_handle_event(HTMLDOMNode *iface, eventid_t eid, nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLAreaElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLAreaElement *This = impl_from_HTMLDOMNode(iface);
     nsAString href_str, target_str;
diff --git a/dlls/mshtml/htmlform.c b/dlls/mshtml/htmlform.c
index c22fa9e..4b1b6f6 100644
--- a/dlls/mshtml/htmlform.c
+++ b/dlls/mshtml/htmlform.c
@@ -781,7 +781,7 @@ static HRESULT HTMLFormElement_invoke(HTMLDOMNode *iface,
     return S_OK;
 }
 
-static HRESULT HTMLFormElement_handle_event(HTMLDOMNode *iface, eventid_t eid, nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLFormElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLFormElement *This = impl_from_HTMLDOMNode(iface);
 




More information about the wine-cvs mailing list