Nikolay Sivov : include: Use wellknown DISPID_* values.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Apr 28 09:10:40 CDT 2015
Module: wine
Branch: master
Commit: 4f228378db122789f450e0fb6c3151576f3fc096
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4f228378db122789f450e0fb6c3151576f3fc096
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Apr 28 13:10:28 2015 +0300
include: Use wellknown DISPID_* values.
---
include/exdisp.idl | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/include/exdisp.idl b/include/exdisp.idl
index 3791acb..7b5d921 100644
--- a/include/exdisp.idl
+++ b/include/exdisp.idl
@@ -229,7 +229,7 @@ interface IWebBrowserApp : IWebBrowser
[id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy);
[id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
[id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
- [id(0), propget] HRESULT Name([out, retval] BSTR* Name);
+ [id(DISPID_VALUE), propget] HRESULT Name([out, retval] BSTR* Name);
[id(DISPID_HWND), propget] HRESULT HWND([out, retval] SHANDLE_PTR *pHWND);
[id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
[id(401), propget] HRESULT Path([out, retval] BSTR* Path);
@@ -581,11 +581,13 @@ interface IShellWindows : IDispatch
{
[propget] HRESULT Count([out, retval] long *Count);
- [id(0)] HRESULT Item(
+ [id(DISPID_VALUE)]
+ HRESULT Item(
[in, optional] VARIANT index,
[out, retval] IDispatch **Folder);
- [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
+ [id(DISPID_NEWENUM)]
+ HRESULT _NewEnum([out, retval] IUnknown **ppunk);
[hidden] HRESULT Register(
[in] IDispatch *pid,
@@ -916,7 +918,8 @@ interface ISearches : IDispatch {
[in, optional] VARIANT index,
[out, retval] ISearch **ppid);
- [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
+ [id(DISPID_NEWENUM)]
+ HRESULT _NewEnum([out, retval] IUnknown **ppunk);
}
[
More information about the wine-cvs
mailing list