Equate

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEnvironment class >

Equate

Previous pageReturn to chapter overviewNext page

Specifies the location where an environment variable is stored or retrieved in a set or get operation.

EnvironmentVariableTargetEnum         EQUATE(LONG)

EnvironmentVariableTarget::Process   EQUATE(0) ! The environment variable is stored or retrieved from the environment block associated with the current process.

EnvironmentVariableTarget::User       EQUATE(1) ! The environment variable is stored or retrieved from the HKEY_CURRENT_USER\Environment key in the Windows operating system registry.

EnvironmentVariableTarget::Machine   EQUATE(2) ! The environment variable is stored or retrieved from the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment key in the Windows operating system registry.

 

Specifies enumerated constants used to retrieve directory paths to system special folders.

SpecialFolderEnum                     EQUATE(LONG)

SpecialFolder::Desktop               EQUATE(0) ! The logical Desktop rather than the physical file system location.

SpecialFolder::Programs               EQUATE(2) ! The directory that contains the user's program groups.

SpecialFolder::Personal               EQUATE(5) ! The directory that serves as a common repository for documents.

SpecialFolder::MyDocuments           EQUATE(SpecialFolder::Personal) ! The My Documents folder.

SpecialFolder::Favorites             EQUATE(6) ! The directory that serves as a common repository for the user's favorite items.

SpecialFolder::Startup               EQUATE(7) ! The directory that corresponds to the user's Startup program group.

SpecialFolder::Recent                 EQUATE(8) ! The directory that contains the user's most recently used documents.

SpecialFolder::SendTo                 EQUATE(9) ! The directory that contains the Send To menu items.

SpecialFolder::StartMenu             EQUATE(11)! The directory that contains the Start menu items.

SpecialFolder::MyMusic               EQUATE(13)! The My Music folder.

SpecialFolder::MyVideos               EQUATE(14)! The file system directory that serves as a repository for videos that belong to a user.

SpecialFolder::DesktopDirectory       EQUATE(16)! The directory used to physically store file objects on the desktop.

SpecialFolder::MyComputer             EQUATE(17)! The My Computer folder.

SpecialFolder::NetworkShortcuts       EQUATE(19)! A file system directory that contains the link objects that may exist in the My Network Places virtual folder.

SpecialFolder::Fonts                 EQUATE(20)! A virtual folder that contains fonts.

SpecialFolder::Templates             EQUATE(21)! The directory that serves as a common repository for document templates.

SpecialFolder::CommonStartMenu       EQUATE(22)! The file system directory that contains the programs and folders that appear on the Start menu for all users. This special folder is valid only for Windows NT systems.

SpecialFolder::CommonPrograms         EQUATE(23)! A folder for components that are shared across applications. This special folder is valid only for Windows NT, Windows 2000, and Windows XP systems.

SpecialFolder::CommonStartup         EQUATE(24)! The file system directory that contains the programs that appear in the Startup folder for all users. This special folder is valid only for Windows NT systems.

SpecialFolder::CommonDesktopDirectory EQUATE(25)! The file system directory that contains files and folders that appear on the desktop for all users. This special folder is valid only for Windows NT systems.

SpecialFolder::ApplicationData       EQUATE(26)! The directory that serves as a common repository for application-specific data for the current roaming user.

SpecialFolder::PrinterShortcuts       EQUATE(27)! The file system directory that contains the link objects that can exist in the Printers virtual folder.

SpecialFolder::LocalApplicationData   EQUATE(28)! The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.

SpecialFolder::InternetCache         EQUATE(32)! The directory that serves as a common repository for temporary Internet files.

SpecialFolder::Cookies               EQUATE(33)! The directory that serves as a common repository for Internet cookies.

SpecialFolder::History               EQUATE(34)! The directory that serves as a common repository for Internet history items.

SpecialFolder::CommonApplicationData EQUATE(35)! The directory that serves as a common repository for application-specific data that is used by all users.

SpecialFolder::Windows               EQUATE(36)! The Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% environment variables.

SpecialFolder::System                 EQUATE(37)! The System directory.

SpecialFolder::ProgramFiles           EQUATE(38)! The program files directory.

SpecialFolder::MyPictures             EQUATE(39)! The My Pictures folder.

SpecialFolder::UserProfile           EQUATE(40)! The user's profile folder. Applications should not create files or folders at this level; they should put their data under the locations referred to by SpecialFolder::ApplicationData.

SpecialFolder::SystemX86             EQUATE(41)! The Windows System folder.

SpecialFolder::ProgramFilesX86       EQUATE(42)! The Program Files folder.

SpecialFolder::CommonProgramFiles     EQUATE(43)! The directory for components that are shared across applications.

SpecialFolder::CommonProgramFilesX86 EQUATE(44)! The Program Files folder.

SpecialFolder::CommonTemplates       EQUATE(45)! The file system directory that contains the templates that are available to all users. This special folder is valid only for Windows NT systems.

SpecialFolder::CommonDocuments       EQUATE(46)! The file system directory that contains documents that are common to all users. This special folder is valid for Windows NT systems, Windows 95, and Windows 98 systems with Shfolder.dll installed.

SpecialFolder::CommonAdminTools       EQUATE(47)! The file system directory that contains administrative tools for all users of the computer.

SpecialFolder::AdminTools             EQUATE(48)! The file system directory that is used to store administrative tools for an individual user. The Microsoft Management Console (MMC) will save customized consoles to this directory, and it will roam with the user.

SpecialFolder::CommonMusic           EQUATE(53)! The file system directory that serves as a repository for music files common to all users.

SpecialFolder::CommonPictures         EQUATE(54)! The file system directory that serves as a repository for image files common to all users.

SpecialFolder::CommonVideos           EQUATE(55)! The file system directory that serves as a repository for video files common to all users.

SpecialFolder::Resources             EQUATE(56)! The file system directory that contains resource data.

SpecialFolder::LocalizedResources     EQUATE(57)! The file system directory that contains localized resource data.

SpecialFolder::CommonOemLinks         EQUATE(58)! This value is recognized in Windows Vista for backward compatibility, but the special folder itself is no longer used.

SpecialFolder::CDBurning             EQUATE(59)! The file system directory that acts as a staging area for files waiting to be written to a CD.

 

Specifies options to use for getting the path to a special folder.

SpecialFolderOptionEnum               EQUATE(LONG)

SpecialFolderOption::None             EQUATE(0) ! The path to the folder is verified. If the folder exists, the path is returned. If the folder does not exist, an empty string is returned. This is the default behavior.

SpecialFolderOption::DoNotVerify     EQUATE(4000h) ! The path to the folder is returned without verifying whether the path exists. If the folder is located on a network, specifying this option can reduce lag time.

SpecialFolderOption::Create           EQUATE(8000h) ! The path to the folder is created if it does not already exist.

 

Identifies the operating system, or platform, supported by an assembly.

PlatformIDEnum               EQUATE(LONG)

PlatformID::Win32S           EQUATE(0) ! The operating system is Win32s. Win32s is a layer that runs on 16-bit versions of Windows to provide access to 32-bit applications.

PlatformID::Win32Windows     EQUATE(1) ! The operating system is Windows 95 or Windows 98.

PlatformID::Win32NT           EQUATE(2) ! The operating system is Windows NT or later.

PlatformID::WinCE             EQUATE(3) ! The operating system is Windows CE.

PlatformID::Unix             EQUATE(4) ! The operating system is Unix.

PlatformID::Xbox             EQUATE(5) ! The development platform is Xbox 360.

PlatformID::MacOSX           EQUATE(6) ! The operating system is Macintosh.