[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    RE:  How do i find the start menu path?
From:       "Rolf Kalbermatter" <rolf.kalbermatter () citeng ! com>
Date:       2003-10-29 18:29:57
[Download RAW message or body]

Robert van Herk <robert@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
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic