mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
[BROWSEUI] Show virtual folders in the log for SHOpenFolderWindow
This commit is contained in:
parent
ca087b6a18
commit
b3f2ba0522
1 changed files with 10 additions and 4 deletions
|
@ -550,10 +550,16 @@ extern "C" HRESULT WINAPI SHOpenFolderWindow(PIE_THREAD_PARAM_BLOCK parameters)
|
||||||
HANDLE threadHandle;
|
HANDLE threadHandle;
|
||||||
DWORD threadID;
|
DWORD threadID;
|
||||||
|
|
||||||
WCHAR debugStr[MAX_PATH + 1];
|
// Only try to convert the pidl when it is going to be printed
|
||||||
SHGetPathFromIDListW(parameters->directoryPIDL, debugStr);
|
if (TRACE_ON(browseui))
|
||||||
|
{
|
||||||
TRACE("SHOpenFolderWindow %p(%S)\n", parameters->directoryPIDL, debugStr);
|
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);
|
PIE_THREAD_PARAM_BLOCK paramsCopy = SHCloneIETHREADPARAM(parameters);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue