Author: cwittich
Date: Sun Jan 4 05:34:13 2009
New Revision: 38557
URL:
http://svn.reactos.org/svn/reactos?rev=38557&view=rev
Log:
sync browseui_winetest with wine 1.1.12
Modified:
trunk/rostests/winetests/browseui/autocomplete.c
Modified: trunk/rostests/winetests/browseui/autocomplete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/browseui/autoco…
==============================================================================
--- trunk/rostests/winetests/browseui/autocomplete.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/browseui/autocomplete.c [iso-8859-1] Sun Jan 4 05:34:13
2009
@@ -45,7 +45,7 @@
ok(FALSE, #exp " failed: %x\n", res); \
}
-LPWSTR strdup_AtoW(LPCSTR str)
+static LPWSTR strdup_AtoW(LPCSTR str)
{
int size = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0);
LPWSTR wstr = (LPWSTR)CoTaskMemAlloc((size + 1)*sizeof(WCHAR));
@@ -86,14 +86,14 @@
return This;
}
-ULONG STDMETHODCALLTYPE TestACL_AddRef(IEnumString *iface)
+static ULONG STDMETHODCALLTYPE TestACL_AddRef(IEnumString *iface)
{
TestACL *This = (TestACL *)iface;
trace("ACL(%p): addref (%d)\n", This, This->ref+1);
return InterlockedIncrement(&This->ref);
}
-ULONG STDMETHODCALLTYPE TestACL_Release(IEnumString *iface)
+static ULONG STDMETHODCALLTYPE TestACL_Release(IEnumString *iface)
{
TestACL *This = (TestACL *)iface;
ULONG res;
@@ -103,7 +103,7 @@
return res;
}
-HRESULT STDMETHODCALLTYPE TestACL_QueryInterface(IEnumString *iface, REFIID iid, LPVOID
*ppvOut)
+static HRESULT STDMETHODCALLTYPE TestACL_QueryInterface(IEnumString *iface, REFIID iid,
LPVOID *ppvOut)
{
TestACL *This = (TestACL *)iface;
*ppvOut = NULL;
@@ -129,7 +129,7 @@
return E_NOINTERFACE;
}
-HRESULT STDMETHODCALLTYPE TestACL_Next(IEnumString *iface, ULONG celt, LPOLESTR *rgelt,
ULONG *pceltFetched)
+static HRESULT STDMETHODCALLTYPE TestACL_Next(IEnumString *iface, ULONG celt, LPOLESTR
*rgelt, ULONG *pceltFetched)
{
TestACL *This = (TestACL *)iface;
ULONG i;
@@ -150,19 +150,19 @@
return S_FALSE;
}
-HRESULT STDMETHODCALLTYPE TestACL_Skip(IEnumString *iface, ULONG celt)
+static HRESULT STDMETHODCALLTYPE TestACL_Skip(IEnumString *iface, ULONG celt)
{
ok(FALSE, "Unexpected call to TestACL_Skip\n");
return E_NOTIMPL;
}
-HRESULT STDMETHODCALLTYPE TestACL_Clone(IEnumString *iface, IEnumString **out)
+static HRESULT STDMETHODCALLTYPE TestACL_Clone(IEnumString *iface, IEnumString **out)
{
ok(FALSE, "Unexpected call to TestACL_Clone\n");
return E_OUTOFMEMORY;
}
-HRESULT STDMETHODCALLTYPE TestACL_Reset(IEnumString *iface)
+static HRESULT STDMETHODCALLTYPE TestACL_Reset(IEnumString *iface)
{
TestACL *This = (TestACL *)iface;
trace("ACL(%p): Reset\n", This);
@@ -170,7 +170,7 @@
return S_OK;
}
-HRESULT STDMETHODCALLTYPE TestACL_Expand(IACList *iface, LPCOLESTR str)
+static HRESULT STDMETHODCALLTYPE TestACL_Expand(IACList *iface, LPCOLESTR str)
{
TestACL *This = impl_from_IACList(iface);
trace("ACL(%p): Expand\n", impl_from_IACList(iface));
@@ -190,17 +190,17 @@
TestACL_Clone
};
-ULONG STDMETHODCALLTYPE TestACL_ACList_AddRef(IACList *iface)
+static ULONG STDMETHODCALLTYPE TestACL_ACList_AddRef(IACList *iface)
{
return TestACL_AddRef((IEnumString *)impl_from_IACList(iface));
}
-ULONG STDMETHODCALLTYPE TestACL_ACList_Release(IACList *iface)
+static ULONG STDMETHODCALLTYPE TestACL_ACList_Release(IACList *iface)
{
return TestACL_Release((IEnumString *)impl_from_IACList(iface));
}
-HRESULT STDMETHODCALLTYPE TestACL_ACList_QueryInterface(IACList *iface, REFIID iid,
LPVOID *ppvout)
+static HRESULT STDMETHODCALLTYPE TestACL_ACList_QueryInterface(IACList *iface, REFIID
iid, LPVOID *ppvout)
{
return TestACL_QueryInterface((IEnumString *)impl_from_IACList(iface), iid, ppvout);
}