shell32: Mask out the CSIDL_ flags.
This commit is contained in:
parent
c6b6082d16
commit
a0126ec1ca
|
@ -2417,7 +2417,7 @@ HRESULT WINAPI SHGetFolderLocation(
|
|||
|
||||
/* The virtual folders' locations are not user-dependent */
|
||||
*ppidl = NULL;
|
||||
switch (nFolder)
|
||||
switch (nFolder & CSIDL_FOLDER_MASK)
|
||||
{
|
||||
case CSIDL_DESKTOP:
|
||||
*ppidl = _ILCreateDesktop();
|
||||
|
|
Loading…
Reference in New Issue