diff --git a/include/exdisp.idl b/include/exdisp.idl index 6bee4f0a50..d7a7104b70 100644 --- a/include/exdisp.idl +++ b/include/exdisp.idl @@ -100,8 +100,7 @@ interface IWebBrowserApp : IWebBrowser HRESULT PutProperty([in] BSTR szProperty, [in] VARIANT vtValue); HRESULT GetProperty([in] BSTR szProperty, [out] VARIANT *pvtValue); [propget] HRESULT Name([out] BSTR* Name); - /* FIXME: get_HWND should be propget too but widl gets confused by the HWND */ - HRESULT get_HWND([out] long *pHWND); + [propget] HRESULT HWND([out] long *pHWND); [propget] HRESULT FullName([out] BSTR* FullName); [propget] HRESULT Path([out] BSTR* Path); [propget] HRESULT Visible([out] VARIANT_BOOL* pBool); diff --git a/tools/widl/parser.y b/tools/widl/parser.y index d9cab5a521..0569f026ad 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -525,6 +525,7 @@ t_ident: { $$ = NULL; } ident: aIDENTIFIER { $$ = make_var($1); } /* some "reserved words" used in attributes are also used as field names in some MS IDL files */ + | aKNOWNTYPE { $$ = make_var($1); } | tID { $$ = make_var($1); } | tRETVAL { $$ = make_var($1); } | tVERSION { $$ = make_var($1); }