Navigation:  ThinBASIC Modules > OS (Operating System) >

OS Equates

Previous pageReturn to chapter overviewNext page

 

During module loading process, the following equates (constants) will be defined

 

Shell mode options:

 

%OS_SHELL_SYNC

%OS_SHELL_ASYNC

 

Shell Window Style options:

 

%OS_WNDSTYLE_HIDE

%OS_WNDSTYLE_NORMAL

%OS_WNDSTYLE_MINIMIZED

%OS_WNDSTYLE_MAXIMIZED

%OS_WNDSTYLE_NORMALNOFOCUS

%OS_WNDSTYLE_MINIMIZEDNOFOCUS

 

CSLID for OS_GetSpecialFolder.

For reference see:

http://msdn.microsoft.com/en-us/library/bb762494(VS.85).aspx

 

%CSIDL_ADMINTOOLS

%CSIDL_ALTSTARTUP

%CSIDL_APPDATA

%CSIDL_BITBUCKET

%CSIDL_CDBURN_AREA

%CSIDL_COMMON_ADMINTOOLS

%CSIDL_COMMON_ALTSTARTUP

%CSIDL_COMMON_APPDATA

%CSIDL_COMMON_DESKTOPDIRECTORY

%CSIDL_COMMON_DOCUMENTS

%CSIDL_COMMON_FAVORITES

%CSIDL_COMMON_MUSIC

%CSIDL_COMMON_PICTURES

%CSIDL_COMMON_PROGRAMS

%CSIDL_COMMON_STARTMENU

%CSIDL_COMMON_STARTUP

%CSIDL_COMMON_TEMPLATES

%CSIDL_COMMON_VIDEO

%CSIDL_CONTROLS

%CSIDL_COOKIES

%CSIDL_DESKTOP

%CSIDL_DESKTOPDIRECTORY

%CSIDL_DRIVES

%CSIDL_FAVORITES

%CSIDL_FLAG_CREATE

%CSIDL_FONTS

%CSIDL_HISTORY

%CSIDL_INTERNET

%CSIDL_INTERNET_CACHE

%CSIDL_LOCAL_APPDATA

%CSIDL_MYDOCUMENTS

%CSIDL_MYMUSIC

%CSIDL_MYPICTURES

%CSIDL_MYVIDEO

%CSIDL_NETHOOD

%CSIDL_NETWORK

%CSIDL_PERSONAL

%CSIDL_PRINTERS

%CSIDL_PRINTHOOD

%CSIDL_PROFILE

%CSIDL_PROGRAM_FILES

%CSIDL_PROGRAM_FILES_COMMON

%CSIDL_PROGRAMS

%CSIDL_RECENT

%CSIDL_SENDTO

%CSIDL_STARTMENU

%CSIDL_STARTUP

%CSIDL_SYSTEM

%CSIDL_TEMPLATES

%CSIDL_WINDOWS

 

OS_Service... functions:

 

%SERVICE_STOPPED

%SERVICE_START_PENDING

%SERVICE_STOP_PENDING

%SERVICE_RUNNING

%SERVICE_CONTINUE_PENDING

%SERVICE_PAUSE_PENDING

%SERVICE_PAUSED

 

%SERVICE_AUTO_START

%SERVICE_BOOT_START

%SERVICE_DEMAND_START

%SERVICE_DISABLED

%SERVICE_SYSTEM_START

 

%SERVICE_ACTIVE

%SERVICE_INACTIVE

%SERVICE_STATE_ALL

 

%SERVICE_WIN32

%SERVICE_DRIVER

%SERVICE_Type_ALL

 

%SERVICE_INFO_NAME

%SERVICE_INFO_DISPLAY_NAME

 

OS_WinGetVersionTimeline function:

 

%OS_Windows_95

%OS_Windows_95_OSR2

%OS_Windows_98

%OS_Windows_98_SE

%OS_Windows_ME

%OS_Windows_NT

%OS_Windows_2K

%OS_Windows_XP

%OS_Windows_Server_2003

 

%OS_Windows_Vista

%OS_Windows_Server_2008

%OS_Windows_Server_2008_DC

 

%OS_Windows_7

%OS_Windows_Server_2008_R2

%OS_Windows_Server_2008_R2_DC

 

%OS_Windows_8

%OS_Windows_Server_2012

 

%OS_Windows_8_1

%OS_Windows_Server_2012_R2

 

%OS_Windows_10

%OS_Windows_Server_2015