From: Alex Henrie <alexhenrie24(a)gmail.com> --- dlls/windows.globalization/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/dlls/windows.globalization/main.c b/dlls/windows.globalization/main.c index d5a5895938f..97d7259d62d 100644 --- a/dlls/windows.globalization/main.c +++ b/dlls/windows.globalization/main.c @@ -39,15 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(locale); -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 hstring_vector { IVectorView_HSTRING IVectorView_HSTRING_iface; @@ -739,7 +730,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; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3157