mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[BROWSEUI] Show virtual folders in the log for SHOpenFolderWindow
This commit is contained in:
parent
ca087b6a18
commit
b3f2ba0522
@ -550,10 +550,16 @@ extern "C" HRESULT WINAPI SHOpenFolderWindow(PIE_THREAD_PARAM_BLOCK parameters)
|
||||
HANDLE threadHandle;
|
||||
DWORD threadID;
|
||||
|
||||
WCHAR debugStr[MAX_PATH + 1];
|
||||
SHGetPathFromIDListW(parameters->directoryPIDL, debugStr);
|
||||
|
||||
TRACE("SHOpenFolderWindow %p(%S)\n", parameters->directoryPIDL, debugStr);
|
||||
// Only try to convert the pidl when it is going to be printed
|
||||
if (TRACE_ON(browseui))
|
||||
{
|
||||
WCHAR debugStr[MAX_PATH + 2] = { 0 };
|
||||
if (!ILGetDisplayName(parameters->directoryPIDL, debugStr))
|
||||
{
|
||||
debugStr[0] = UNICODE_NULL;
|
||||
}
|
||||
TRACE("SHOpenFolderWindow %p(%S)\n", parameters->directoryPIDL, debugStr);
|
||||
}
|
||||
|
||||
PIE_THREAD_PARAM_BLOCK paramsCopy = SHCloneIETHREADPARAM(parameters);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user