From: iRed on
Hi everybody,

How can I get a specific virtual folder CSIDL?

I find the CSIDL of My Picture on Internet:

::{450d8fba-ad25-11d0-98a8-0800361b1103}

I can use it with an explorer shell on XP, no problem.

Now, I want the CSIDL of Desktop, or My Documents...

Where can I find that?

Is a function existing?

An other question about that,

On Vista, the CSIDL of My Pictures doesn't work.

Anybody know why?

Thank you very much for your answer
From: Scott Seligman on
iRed <r.e.dbaron(a)bluewin.ch> wrote:
>How can I get a specific virtual folder CSIDL?

Look in ShGuid.h in the Platform SDK.

>I find the CSIDL of My Picture on Internet:
>
>::{450d8fba-ad25-11d0-98a8-0800361b1103}

This is the CSIDL for My Documents.

--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
It has been said that democracy is the worst form of government
except all the others that have been tried.
-- Sir Winston Churchill
From: Christian ASTOR on
Scott Seligman wrote:

> iRed <r.e.dbaron(a)bluewin.ch> wrote:
>
>>How can I get a specific virtual folder CSIDL?
>
> Look in ShGuid.h in the Platform SDK.

Rather shlguid.h...

From: iRed on
Thank your for your anwsers Christian and Scott!

I funded GUID I want, but not GUID for the active user Desktop.

Have anybody the GUID (for XP and Vista) of Desktop?

Thanks for your help.

From: Christian ASTOR on
iRed wrote:

> Have anybody the GUID (for XP and Vista) of Desktop?

The Desktop CLSID is CLSID_ShellDesktop
("shell:::{00021400-0000-0000-C000-000000000046}")