From: Alex Henrie alexhenrie24@gmail.com
--- dlls/threadpoolwinrt/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/dlls/threadpoolwinrt/main.c b/dlls/threadpoolwinrt/main.c index fb59a777e30..0100893e582 100644 --- a/dlls/threadpoolwinrt/main.c +++ b/dlls/threadpoolwinrt/main.c @@ -37,15 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(threadpool);
-static const char *debugstr_hstring(HSTRING hstr) -{ - const WCHAR *str; - UINT32 len; - if (hstr && !((ULONG_PTR)hstr >> 16)) return "(invalid)"; - str = WindowsGetStringRawBuffer(hstr, &len); - return wine_dbgstr_wn(str, len); -} - struct threadpool_factory { IActivationFactory IActivationFactory_iface; @@ -625,7 +616,7 @@ HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **fac { const WCHAR *name = WindowsGetStringRawBuffer(classid, NULL);
- TRACE("classid %s, factory %p.\n", debugstr_hstring(classid), factory); + TRACE("classid %s, factory %p.\n", debugstr_h(classid), factory);
*factory = NULL;