mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:36:07 +00:00
[SHELL32]
- Return a readable folder name when SHGDN_FORADDRESSBAR was specified - We no longer show GUIDs in the address bar svn path=/branches/shell-experiments/; revision=65072
This commit is contained in:
parent
6dfa5325d0
commit
5273a84a3f
2 changed files with 2 additions and 2 deletions
|
@ -679,7 +679,7 @@ HRESULT WINAPI CDesktopFolder::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFl
|
||||||
|
|
||||||
if ((clsid = _ILGetGUIDPointer (pidl)))
|
if ((clsid = _ILGetGUIDPointer (pidl)))
|
||||||
{
|
{
|
||||||
if (GET_SHGDN_FOR (dwFlags) & SHGDN_FORPARSING)
|
if (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING)
|
||||||
{
|
{
|
||||||
int bWantsForParsing;
|
int bWantsForParsing;
|
||||||
|
|
||||||
|
|
|
@ -491,7 +491,7 @@ HRESULT WINAPI CDrivesFolder::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFla
|
||||||
clsid = _ILGetGUIDPointer (pidl);
|
clsid = _ILGetGUIDPointer (pidl);
|
||||||
if (clsid)
|
if (clsid)
|
||||||
{
|
{
|
||||||
if (GET_SHGDN_FOR (dwFlags) & SHGDN_FORPARSING)
|
if (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING)
|
||||||
{
|
{
|
||||||
static const WCHAR clsidW[] = L"CLSID\\";
|
static const WCHAR clsidW[] = L"CLSID\\";
|
||||||
static const WCHAR shellfolderW[] = L"\\shellfolder";
|
static const WCHAR shellfolderW[] = L"\\shellfolder";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue