Windows API Class

Entisoft Tools 2.0 Object Library
Version 2.1 Build 208
<-- Previous || Index || Main || Topics || Next -->

Declarations Section, CharToOem Function, CoerceBooleanToInteger Function, CoerceCurrencyToDouble Function, CoerceDoubleToCurrency Function, CoerceIntegerToBoolean Function, CoerceLongToSingle Function, CoerceSingleToLong Function, CoerceTwoBytesToInteger Function, CoerceTwoIntegersToLong Function, CoerceTwoLongsToDouble Function, DRIVE_CDROM Property, DRIVE_FIXED Property, DRIVE_RAMDISK Property, DRIVE_REMOTE Property, DRIVE_REMOVABLE Property, DRIVEConstantToString Function, GetDriveType Function, GetDriveTypeSample Sub, GetModuleFileName Function, GetSystemDirectory Property, GetTempPath Property, GetTempFileName Function, GetWindowsDirectory Property, GetWindowsVersion Property, HIBYTE Function, HIDWORD Function, HIWORD Function, LOBYTE Function, LODWORD Function, LOWORD Function, OemToChar Function, ShellNoWait Function, ShellWait Function, ProfileFileName Property, ProfileSectionName Property, GetPrivateProfileInt Function, GetPrivateProfileSection Function, GetPrivateProfileSectionSample Sub, GetPrivateProfileString Function, GetProfileInt Function, GetProfileSection Function, GetProfileSectionSample Sub, GetProfileString Function, WritePrivateProfileString Function, WriteProfileString Function

Declarations Section
Char To Oem Function
"ANSI Characters To OEM Characters" Converts ANSI (Windows) characters to the OEM (DOS) character set. Used to be known as AnsiToOem.
Coerce Boolean To Integer Function
Coerce a Boolean value into an Integer value. Return the Integer value whose bytes have the same in-memory representation as the Boolean value vValue.
Coerce Currency To Double Function
Coerce a Currency value into a Double value. Return the Double value whose bytes have the same in-memory representation as the Currency value vcurValue. Inverse of the CoerceDoubleToCurrency Function.
Coerce Double To Currency Function
Coerce a Double value into a Currency value. Return the Currency value whose bytes have the same in-memory representation as the Double value vValue. Inverse of the CoerceCurrencyToDouble Function.
Coerce Integer To Boolean Function
Coerce an Integer value into a Boolean value. Return the Boolean value whose bytes have the same in-memory representation as the Integer value vValue.
Coerce Long To Single Function
Coerce a Long (Integer) value into a Single (precision floating-point) value. Return the Single value whose bytes have the same in-memory representation as the Long value vValue. Inverse of the CoerceSingleToLong Function.
Coerce Single To Long Function
Coerce a Single (precision floating-point) value into a Long (Integer) value. Return the Long value whose bytes have the same in-memory representation as the Single value vValue. Inverse of the CoerceLongToSingle Function.
Coerce Two Bytes To Integer Function
Coerce two Byte values into an Integer value. Return the Integer value whose low-order byte (first, least-significant-byte) is vLo and whose high-order byte (last, most-significant-byte) is vHi. Inverse/opposite of the HIBYTE and LOBYTE functions.
Coerce Two Integers To Long Function
Coerce two Integer values into a Long (Integer) value. Return the Long value whose low-order word (2 bytes) has the same representation as vLo, and whose high-order word has the same representation as vHi. Inverse/opposite of the HIWORD and LOWORD functions.
Coerce Two Longs To Double Function
Coerce two Long (Integer) values into a Double (precision floating-point) value. Return the Double value whose low-order double-word (4 bytes) has the same representation as vLo, and whose high-order double-word has the same representation as vHi. Inverse/opposite of the HIDWORD and LODWORD functions.
DRIVE_CDROM Property
"Drive Type Is CD-ROM" The GetDriveType Function returns this value to indicate that the specified drive is a CD-ROM.
DRIVE_FIXED Property
"Drive Type Is Fixed" The GetDriveType Function returns this value to indicate that the specified drive is a fixed disk, such as a hard disk.
DRIVE_RAMDISK Property
"Drive Type Is RAM Disk" The GetDriveType Function returns this value to indicate that the specified drive is a RAM disk.
DRIVE_REMOTE Property
"Drive Type Is Remote" The GetDriveType Function returns this value to indicate that the specified drive is a remote (network) drive.
DRIVE_REMOVABLE Property
"Drive Type Is Removable" The GetDriveType Function returns this value to indicate that the specified drive is a removable disk, such as a floppy disk, removable hard disk, or optical disk.
DRIVE Constant To String Function
Return a word that describes one of the DRIVE Constants.
Get Drive Type Function
Returns a number describing the type of drive (storage device) that is attached to a drive letter A..Z. The number returned should be one of the DRIVE Constants.
Get Drive Type Sample Sub
Sample of the GetDriveType function that prints the type of each of the drives A through Z.
Get Module File Name Function
Return the file name of the program associated with the Windows Module Handle vModuleHandle.
Get System Directory Property
"Get Windows System Directory Name" Returns the name of the Windows system directory, usually "C:\WINDOWS\SYSTEM"
Get Temp Path Property
"Get Temporary Path Name" Returns the name of the Windows temporary directory.
Get Temp File Name Function
"Get Temporary File Name" Creates an empty file (usually in the Windows temporary file directory) and returns the name of the file. File will be located in directory vSuggestPath and will have prefix vPrefix.
Get Windows Directory Property
"Get Windows Directory Name" Returns the name of the user's Windows directory, usually "C:\WINDOWS"
Get Windows Version Property
Get the version number of Microsoft Windows and return it in the form of a string.
HIBYTE Function
"High Byte" Return the high-order byte of an Integer value. Return the Byte value whose in-memory representation is the same as the left-most, most-significant-byte of Integer value vValue.
HIDWORD Function
"High Double Word" Return the high-order double-word (4 bytes) of a Double (precision floating-point) value. Return the Long (Integer) value whose in-memory representation is the same as the left-most, most-significant double-word of Double value vValue.
HIWORD Function
"High Word" Return the high-order word (2 bytes) of a Long (Integer) value. Return the Integer value whose in-memory representation is the same as the left-most, most-significant-word of Long value vValue.
LOBYTE Function
"Low Byte" Return the low-order byte of an Integer value. Return the Byte value whose in-memory representation is the same as the right-most, least-significant-byte of Integer value vValue.
LODWORD Function
"Low Double Word" Return the low-order double-word (4 bytes) of a Double (precision floating-point) value. Return the Long (Integer) value whose in-memory representation is the same as the right-most, least-significant double-word of Double value vValue.
LOWORD Function
"Low Word" Return the low-order word (2 bytes) of a Long (Integer) value. Return the Integer value whose in-memory representation is the same as the right-most, least-significant-word of Long value vValue.
Oem To Char Function
"OEM Characters To ANSI Characters" Converts OEM (DOS) characters to the ANSI (Windows) character set. Used to be known as OemToAnsi.
Shell No Wait Function
Executes a Windows or DOS program without waiting for it to complete. Its window gets the specified focus. Function optionally sends keystrokes to the program. Function returns either 0 (zero) upon success or the number of the error encountered.
Shell Wait Function
Executes a Windows or DOS program and wait for it to complete. Its window gets the specified focus. Function optionally sends keystrokes to the program. Function returns either 0 (zero) upon success or the number of the error encountered.
Profile File Name Property
Specifies the Private Profile (INI) file name that will be used by the Private Profile functions when their vFileName argument is missing or Null. Get the current value of the ProfileFileName Property. Set the current value of the ProfileFileName Property.
Profile Section Name Property
Specifies the Section Name that will be used by the Profile functions when their vSectionName argument is missing or Null. Get the current value of the ProfileSectionName Property. Set the current value of the ProfileSectionName Property.
Get Private Profile Int Function
"Get Private Profile Integer" Get the value of an Integer numeric setting from a Windows Private Profile (INI) file. Function returns a Long value.
Get Private Profile Section Function
Get all of the settings from a section of a Private Profile file and place them into a Variant array. Function returns True upon success and False upon failure.
Get Private Profile Section Sample Sub
Print a sample of the GetPrivateProfileSection function.
Get Private Profile String Function
Get the value of a String setting from a Windows Private Profile (INI) file.
Get Profile Int Function
"Get Profile Integer" Get the value of an (Integer) numeric setting from the Windows Registry. Function returns a Long value.
Get Profile Section Function
Get all of the settings from a section of the Windows Registry. Function returns True upon success and False upon failure.
Get Profile Section Sample Sub
Print a sample of the GetProfileSectionSample function.
Get Profile String Function
Get the value of a String setting from the Windows Registry.
Write Private Profile String Function
Writes a Key Name and Value pair into a Windows Private Profile (INI) file.
Write Profile String Function
Write a Key Name and Value pair into the Windows Registry.

This Windows-based ActiveX DLL provides many useful routines through its function-bearing and data structure classes. Consult the Help file for more information, or call us at 1-310-472-3736. For the latest news and files, visit our home page on the World Wide Web: http://www.entisoft.com

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.