How do i find the start menu path?

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Wed Oct 29 12:29:57 CST 2003


Robert van Herk <robert at robertvanherk.nl> wrote:

>I have a question for my start menu generator, that is almost finished 
>now...
>
>How do I find the path of the wine start menu? (for me it's 
>~/c/windows/Start Menu, but for someone else it does not have to be like 
>that...)

I assume/hope you have a winelib app in which case you can just simply
call

ret = SHGetSpecialFolderPathW(NULL, lpString, CSIDL_PROGRAMS, FALSE);

and unless SHRestricted(REST_NOCOMMONGROUPS) is true also

ret = SHGetSpecialFolderPathW(NULL, lpString, CSIDL_COMMON_PROGRAMS, FALSE);

Rolf Kalbermatter
 





More information about the wine-devel mailing list