Changeset 3879 for trunk/src


Ignore:
Timestamp:
Jul 21, 2000, 8:30:29 PM (25 years ago)
Author:
sandervl
Message:

Registry key & directory name for 'Start Menu'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shlwapi/path.c

    r3700 r3879  
    1 /* $Id: path.c,v 1.4 2000-06-13 18:14:19 phaller Exp $ */
     1/* $Id: path.c,v 1.5 2000-07-21 18:30:29 sandervl Exp $ */
    22
    33/*
     
    55 *
    66 * Project Odin Software License can be found in LICENSE.TXT
     7 *
     8 *
     9 * NOTE: SHGetSpecialFolderPathA: StartMenu changed in 'Start Menu'
     10 *
    711 *
    812 * Copyright 1997 Marcus Meissner
     
    19451949            hRootKey = HKEY_CURRENT_USER;
    19461950            strcpy(szValueName, "Programs");
    1947             strcpy(szDefaultPath, "StartMenu\\Programs");
     1951            strcpy(szDefaultPath, "Start Menu\\Programs");
    19481952            break;
    19491953
     
    19681972          case CSIDL_STARTMENU:
    19691973            hRootKey = HKEY_CURRENT_USER;
    1970             strcpy(szValueName, "StartMenu");
    1971             strcpy(szDefaultPath, "StartMenu");
     1974            strcpy(szValueName, "Start Menu");
     1975            strcpy(szDefaultPath, "Start Menu");
    19721976            break;
    19731977
    19741978          case CSIDL_COMMON_STARTMENU:
    19751979            hRootKey = HKEY_LOCAL_MACHINE;
    1976             strcpy(szValueName, "Common StartMenu");
    1977             strcpy(szDefaultPath, "StartMenu");
     1980            strcpy(szValueName, "Common StartMenu"); //TODO: Start Menu?
     1981            strcpy(szDefaultPath, "Start Menu");
    19781982            break;
    19791983
     
    19811985            hRootKey = HKEY_CURRENT_USER;
    19821986            strcpy(szValueName, "Startup");
    1983             strcpy(szDefaultPath, "StartMenu\\Programs\\Startup");
     1987            strcpy(szDefaultPath, "Start Menu\\Programs\\Startup");
    19841988            break;
    19851989
     
    19871991            hRootKey = HKEY_LOCAL_MACHINE;
    19881992            strcpy(szValueName, "Common Startup");
    1989             strcpy(szDefaultPath, "StartMenu\\Programs\\Startup");
     1993            strcpy(szDefaultPath, "Start Menu\\Programs\\Startup");
    19901994            break;
    19911995
Note: See TracChangeset for help on using the changeset viewer.