Nikolay Sivov : include: Fix IRequestDictionary and IResponse definition.

Alexandre Julliard julliard at winehq.org
Mon Mar 27 15:26:07 CDT 2017


Module: wine
Branch: master
Commit: 7e32226afd231fd242ce60c83e527687a9bea594
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7e32226afd231fd242ce60c83e527687a9bea594

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Mar 26 17:39:34 2017 +0300

include: Fix IRequestDictionary and IResponse definition.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/asptlb.idl | 73 +++++++++++++++++++++++++++---------------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

diff --git a/include/asptlb.idl b/include/asptlb.idl
index 608d220..d010908 100644
--- a/include/asptlb.idl
+++ b/include/asptlb.idl
@@ -28,17 +28,16 @@ import "oaidl.idl";
 interface IRequestDictionary : IDispatch
 {
     [propget]
-    HRESULT Item(IRequestDictionary *iface, [in, optional] VARIANT Var,
-        [retval, out] VARIANT *pVariantReturn);
+    HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn);
 
     [restricted, propget]
-    HRESULT _NewEnum(IRequestDictionary *iface, [retval, out] IUnknown **ppEnumReturn);
+    HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn);
 
     [propget]
-    HRESULT Count(IRequestDictionary *iface, [retval, out] int *cStrRet);
+    HRESULT Count([retval, out] int *count);
 
     [propget]
-    HRESULT Key(IRequestDictionary *iface, [in] VARIANT VarKey, [retval, out]VARIANT *pvar);
+    HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value);
 };
 
 [
@@ -49,85 +48,85 @@ interface IRequestDictionary : IDispatch
 interface IResponse : IDispatch
 {
     [propget]
-    HRESULT Buffer(IResponse *iface, [retval, out] VARIANT_BOOL *fIsBuffering);
+    HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
 
     [propput]
-    HRESULT Buffer(IResponse *iface, [in] VARIANT_BOOL fIsBuffering);
+    HRESULT Buffer([in] VARIANT_BOOL is_buffering);
 
     [propget]
-    HRESULT ContentType(IResponse *iface, [retval, out] BSTR *pbstrContentTypeRet);
+    HRESULT ContentType([retval, out] BSTR *content_type);
 
     [propput]
-    HRESULT ContentType(IResponse *iface, [in] BSTR bstrContentType);
+    HRESULT ContentType([in] BSTR content_type);
 
     [propget]
-    HRESULT Expires(IResponse *iface, [retval, out] VARIANT *pvarExpiresMinutesRet);
+    HRESULT Expires([retval, out] VARIANT *minutes);
 
     [propput]
-    HRESULT Expires(IResponse *iface, [in] long lExpiresMinutes);
+    HRESULT Expires([in] LONG minutes);
 
     [propget]
-    HRESULT ExpiresAbsolute(IResponse *iface, [retval, out] VARIANT *pvarExpiresRet);
+    HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
 
     [propput]
-    HRESULT ExpiresAbsolute(IResponse *iface, [in] DATE dtExpires);
+    HRESULT ExpiresAbsolute([in] DATE expires);
 
     [propget]
-    HRESULT Cookies(IResponse *iface, [retval, out] IRequestDictionary **ppCookies);
+    HRESULT Cookies([retval, out] IRequestDictionary **cookies);
 
     [propget]
-    HRESULT Status(IResponse *iface, [retval][out] BSTR *pbstrStatusRet);
+    HRESULT Status([retval, out] BSTR *status);
 
     [propput]
-    HRESULT Status(IResponse *iface, [in] BSTR bstrStatus);
+    HRESULT Status([in] BSTR status);
 
     [hidden]
-    HRESULT Add(IResponse *iface, [in] BSTR bstrHeaderValue, [in] BSTR bstrHeaderName);
+    HRESULT Add([in] BSTR value, [in] BSTR name);
 
-    HRESULT AddHeader(IResponse *iface, [in] BSTR bstrHeaderName, [in] BSTR bstrHeaderValue);
+    HRESULT AddHeader([in] BSTR name, [in] BSTR value);
 
-    HRESULT AppendToLog(IResponse *iface, [in] BSTR bstrLogEntry);
+    HRESULT AppendToLog([in] BSTR log_entry);
 
-    HRESULT BinaryWrite(IResponse *iface, [in] VARIANT varInput);
+    HRESULT BinaryWrite([in] VARIANT input);
 
-    HRESULT Clear(IResponse *iface);
+    HRESULT Clear();
 
-    HRESULT End(IResponse *iface);
+    HRESULT End();
 
-    HRESULT Flush(IResponse *iface);
+    HRESULT Flush();
 
-    HRESULT Redirect(IResponse *iface, [in] BSTR bstrURL);
+    HRESULT Redirect(BSTR url);
 
-    HRESULT Write(IResponse *iface, [in] VARIANT varText);
+    HRESULT Write([in] VARIANT text);
 
     [hidden]
-    HRESULT WriteBlock(IResponse *iface, [in] short iBlockNumber);
+    HRESULT WriteBlock([in] short block_number);
 
-    HRESULT IsClientConnected(IResponse *iface, [retval, out] VARIANT_BOOL *pfIsClientConnected);
+    HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected);
 
     [propget]
-    HRESULT get_CharSet( IResponse *iface, [retval, out] BSTR *pbstrCharSetRet);
+    HRESULT CharSet([retval, out] BSTR *charset);
 
     [propput]
-    HRESULT put_CharSet(IResponse *iface, [in] BSTR bstrCharSet);
+    HRESULT CharSet([in] BSTR charset);
 
-    HRESULT Pics(IResponse *iface, [in] BSTR bstrHeaderValue);
+    HRESULT Pics([in] BSTR value);
 
     [propget]
-    HRESULT get_CacheControl(IResponse *iface, [retval, out] BSTR *pbstrCacheControl);
+    HRESULT CacheControl([retval, out] BSTR *cache_control);
 
     [propput]
-    HRESULT put_CacheControl(IResponse *iface, [in] BSTR bstrCacheControl);
+    HRESULT CacheControl([in] BSTR cache_control);
 
     [propget]
-    HRESULT get_CodePage(IResponse *iface, [retval, out] long *plvar);
+    HRESULT CodePage([retval, out] LONG *codepage);
 
     [propput]
-    HRESULT put_CodePage(IResponse *iface, [in] long lvar);
+    HRESULT CodePage([in] LONG codepage);
 
     [propget]
-    HRESULT get_LCID(IResponse *iface, [retval, out] long *plvar);
+    HRESULT LCID([retval, out] LONG *lcid);
 
     [propput]
-    HRESULT put_LCID(IResponse *iface, [in] long lvar);
-};
+    HRESULT LCID([in] LONG lcid);
+}




More information about the wine-cvs mailing list