Navigation:  Reference > Detailed Function Description > Helper Functions >

FNDPlot_getsfpath$

 

Previous pageReturn to chapter overviewNext page

 

DEF FNDplot_getsfpath$(Foldercsid$,Subdir$,INTEGER Dflag,OPTIONAL INTEGER Verbose)

!

! Returns the path to special windows directories

!

!  INPUT: Foldercsid$ = Path CSIDLS

!           CSIDL_DESKTOP = &H0&  ' Desktop

!           CSIDL_INTERNET = &H1& ' Internet

!           CSIDL_PROGRAMS = &H2& ' Start menu: Program Files

!           CSIDL_CONTROLS = &H3& ' Control panel

!           CSIDL_PRINTERS = &H4& ' Printers

!           CSIDL_PERSONAL = &H5& ' Eigene Dateien

!           CSIDL_FAVORITES = &H6&' IE: Favorites

!           CSIDL_STARTUP = &H7&  ' Autostart

!           CSIDL_RECENT = &H8&   ' Recently used documents

!           CSIDL_SENDTO = &H9&   ' Sendto

!           CSIDL_BITBUCKET = &HA&' Bitbucket

!           CSIDL_STARTMENU = &HB&' Start menu

!           CSIDL_MYMUSIC = &HD   ' My music

!           CSIDL_MYVIDEO = &HE   ' My videos

!           CSIDL_DESKTOPDIRECTORY = &H10& ' Desktop Directory

!           CSIDL_DRIVES = &H11&  ' My Computer

!           CSIDL_NETWORK = &H12& ' Network

!           CSIDL_NETHOOD = &H13& ' Nethood

!           CSIDL_FONTS = &H14&   ' Windows\Fonts

!           CSIDL_TEMPLATES = &H15&  ' Vorlagen

!           CSIDL_COMMON_STARTMENU = &H16&  ' "All Users" - Start menu

!           CSIDL_COMMON_PROGRAMS = &H17&   ' "All Users" - Program Files

!           CSIDL_COMMON_STARTUP = &H18&    ' "All Users" - Autostart

!           CSIDL_COMMON_DESKTOPDIRECTORY = &H19& ' "All Users" - Desktop

!           CSIDL_APPDATA = &H1A&           ' Application data

!           CSIDL_PRINTHOOD = &H1B&         ' Printhood

!           CSIDL_LOCAL_APPDATA = &H1C&     ' Local settings\Applications data

!           CSIDL_COMMON_FAVORITES = &H1F&  ' "All Users" - Favorites

!           CSIDL_INTERNET_CACHE = &H20& ' IE: Temporary Internet Files

!           CSIDL_COOKIES = &H21&           ' IE: Cookies

!           CSIDL_HISTORY = &H22&           ' IE: History

!           CSIDL_COMMON_APPDATA = &H23& ' "All Users" - Application data

!           CSIDL_WINDOWS = &H24&           ' Windows

!           CSIDL_SYSTEM = &H25&            ' Windows\System32

!           CSIDL_PROGRAM_FILES = &H26&     ' C:\Program Files

!           CSIDL_MYPICTURES = &H27&        ' My pictures

!           CSIDL_PROFILE = &H28&           ' My Profile (user name)

!           CSIDL_SYSTEMX86 = &H29&         ' Windows\System32

!           CSIDL_PROGRAM_FILES_COMMON = &H2B& ' Common Files

!           CSIDL_COMMON_TEMPLATES = &H2D&  ' "All Users" - Templates

!           CSIDL_COMMON_DOCUMENTS = &H2E&  ' "All Users" - Documents

!           CSIDL_COMMON_ADMINTOOLS = &H2F& ' "All Users" - Admin tools

!           CSIDL_ADMINTOOLS = &H30&  ' Start menu\Program Files\Verwaltung

!

!         Subdir$      = Subdirectory to be added to directory name

!         Dflag        = Flags. Currently defined:  1 = Create subdir if it does not exist

!

!  Returns the path or "" if the path does not exist

 

FNDplot_getsfpath$ returns the path to special windows directories like Start menu, Desktop and others.