Author: gadamopoulos
Date: Tue Nov 15 14:08:57 2016
New Revision: 73235
URL:
http://svn.reactos.org/svn/reactos?rev=73235&view=rev
Log:
[SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folder
dialog.
Modified:
trunk/rostests/apitests/shell32/CShellDesktop.cpp
Modified: trunk/rostests/apitests/shell32/CShellDesktop.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/shell32/CShellDe…
==============================================================================
--- trunk/rostests/apitests/shell32/CShellDesktop.cpp [iso-8859-1] (original)
+++ trunk/rostests/apitests/shell32/CShellDesktop.cpp [iso-8859-1] Tue Nov 15 14:08:57
2016
@@ -182,6 +182,10 @@
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)