mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Added test to show that Windows does not allocate a new pidl in
SHBindToParent.
This commit is contained in:
parent
060bfac706
commit
3676640e64
@ -377,6 +377,11 @@ static void test_GetDisplayName(void)
|
||||
return;
|
||||
}
|
||||
|
||||
/* This test shows that Windows doesn't allocate a new pidlLast, but returns a pointer into
|
||||
* pidlTestFile (In accordance with MSDN). */
|
||||
todo_wine{ok (ILFindLastID(pidlTestFile) == pidlLast,
|
||||
"SHBindToParent doesn't return the last id of the pidl param!\n");}
|
||||
|
||||
hr = IShellFolder_GetDisplayNameOf(psfPersonal, pidlLast, SHGDN_FORPARSING, &strret);
|
||||
ok (SUCCEEDED(hr), "Personal->GetDisplayNameOf failed! hr = %08lx\n", hr);
|
||||
if (FAILED(hr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user