[DllImport("coredll.dll")]
static extern int SHGetSpecialFolderPath(IntPtr hwndOwner, StringBuilder lpszPath, int nFolder, int fCreate);
None.
None.
None.
const int CSIDL_PROGRAMS = 2; // \Windows\Start Menu\Programs
StringBuilder programs = new StringBuilder(255);
SHGetSpecialFolderPath((IntPtr)0, programs, PlatformUtil.CSIDL_PROGRAMS, 0);
string programsDir = programs.ToString();
None in the Compact Framework