[SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folde...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 15 Nov 2016 14:08:57 +0000 (14:08 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 15 Nov 2016 14:08:57 +0000 (14:08 +0000)
svn path=/trunk/; revision=73235

rostests/apitests/shell32/CShellDesktop.cpp

index f589f8e..61a462d 100644 (file)
@@ -182,6 +182,10 @@ TestShellFolder(
     hr = psf2->CreateViewObject(NULL, IID_PPV_ARG(IShellView, &psv_2));
     ok(hr == S_OK, "hr = %lx\n", hr);
     ok(psv != psv_2, "Expected %p != %p\n", static_cast<PVOID>(psv), static_cast<PVOID>(psv_2));
+
+    STRRET strret;
+    hr = psf2->GetDisplayNameOf(NULL, 0, &strret);
+    ok(hr == S_OK, "hr = %lx\n", hr);
 }
 
 VOID TestInitialize(_In_ IShellFolder *psf)