[PATCH] include: Fix IRequestDictionary and IResponse definition

Nikolay Sivov nsivov at codeweavers.com
Sun Mar 26 09:39:34 CDT 2017

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
 include/asptlb.idl | 73 +++++++++++++++++++++++++++---------------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

diff --git a/include/asptlb.idl b/include/asptlb.idl
index 608d22084e..d010908384 100644
--- a/include/asptlb.idl
+++ b/include/asptlb.idl
@@ -28,17 +28,16 @@ import "oaidl.idl";
 interface IRequestDictionary : IDispatch
-    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);
-    HRESULT Count(IRequestDictionary *iface, [retval, out] int *cStrRet);
+    HRESULT Count([retval, out] int *count);
-    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
-    HRESULT Buffer(IResponse *iface, [retval, out] VARIANT_BOOL *fIsBuffering);
+    HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
-    HRESULT Buffer(IResponse *iface, [in] VARIANT_BOOL fIsBuffering);
+    HRESULT Buffer([in] VARIANT_BOOL is_buffering);
-    HRESULT ContentType(IResponse *iface, [retval, out] BSTR *pbstrContentTypeRet);
+    HRESULT ContentType([retval, out] BSTR *content_type);
-    HRESULT ContentType(IResponse *iface, [in] BSTR bstrContentType);
+    HRESULT ContentType([in] BSTR content_type);
-    HRESULT Expires(IResponse *iface, [retval, out] VARIANT *pvarExpiresMinutesRet);
+    HRESULT Expires([retval, out] VARIANT *minutes);
-    HRESULT Expires(IResponse *iface, [in] long lExpiresMinutes);
+    HRESULT Expires([in] LONG minutes);
-    HRESULT ExpiresAbsolute(IResponse *iface, [retval, out] VARIANT *pvarExpiresRet);
+    HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
-    HRESULT ExpiresAbsolute(IResponse *iface, [in] DATE dtExpires);
+    HRESULT ExpiresAbsolute([in] DATE expires);
-    HRESULT Cookies(IResponse *iface, [retval, out] IRequestDictionary **ppCookies);
+    HRESULT Cookies([retval, out] IRequestDictionary **cookies);
-    HRESULT Status(IResponse *iface, [retval][out] BSTR *pbstrStatusRet);
+    HRESULT Status([retval, out] BSTR *status);
-    HRESULT Status(IResponse *iface, [in] BSTR bstrStatus);
+    HRESULT Status([in] BSTR status);
-    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);
-    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);
-    HRESULT get_CharSet( IResponse *iface, [retval, out] BSTR *pbstrCharSetRet);
+    HRESULT CharSet([retval, out] BSTR *charset);
-    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);
-    HRESULT get_CacheControl(IResponse *iface, [retval, out] BSTR *pbstrCacheControl);
+    HRESULT CacheControl([retval, out] BSTR *cache_control);
-    HRESULT put_CacheControl(IResponse *iface, [in] BSTR bstrCacheControl);
+    HRESULT CacheControl([in] BSTR cache_control);
-    HRESULT get_CodePage(IResponse *iface, [retval, out] long *plvar);
+    HRESULT CodePage([retval, out] LONG *codepage);
-    HRESULT put_CodePage(IResponse *iface, [in] long lvar);
+    HRESULT CodePage([in] LONG codepage);
-    HRESULT get_LCID(IResponse *iface, [retval, out] long *plvar);
+    HRESULT LCID([retval, out] LONG *lcid);
-    HRESULT put_LCID(IResponse *iface, [in] long lvar);
+    HRESULT LCID([in] LONG lcid);

More information about the wine-patches mailing list