From: Alex Henrie <alexhenrie24(a)gmail.com> --- dlls/windows.perception.stub/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/dlls/windows.perception.stub/main.c b/dlls/windows.perception.stub/main.c index 4403c9cfb3f..23063148b61 100644 --- a/dlls/windows.perception.stub/main.c +++ b/dlls/windows.perception.stub/main.c @@ -24,15 +24,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(perception); -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 ); -} - HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID riid, void **out ) { FIXME( "clsid %s, riid %s, out %p stub!\n", debugstr_guid(clsid), debugstr_guid(riid), out ); @@ -43,7 +34,7 @@ HRESULT WINAPI DllGetActivationFactory( HSTRING classid, IActivationFactory **fa { const WCHAR *buffer = WindowsGetStringRawBuffer( classid, NULL ); - TRACE( "class %s, factory %p.\n", debugstr_hstring(classid), factory ); + TRACE( "class %s, factory %p.\n", debugstr_h(classid), factory ); *factory = NULL; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3157