Class Module 46 Members

Windows API Class

Entisoft Tools 2.0 Object Library · WindowsAPI · 31 Functions · 11 Properties · 3 Subroutines

Showing 46 of 46
Declarations
Declarations
Functions that wrap around various Windows API functions, making them easier to access. Copyright 1998 Entisoft
Section
DRIVE_CDROM
DRIVE_CDROM
"Drive Type Is CD-ROM" The GetDriveType Function returns this value to indicate that the specified drive is a CD-ROM.
Property
DRIVE_FIXED
DRIVE_FIXED
"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.
Property
DRIVE_RAMDISK
DRIVE_RAMDISK
"Drive Type Is RAM Disk" The GetDriveType Function returns this value to indicate that the specified drive is a RAM disk.
Property
DRIVE_REMOTE
DRIVE_REMOTE
"Drive Type Is Remote" The GetDriveType Function returns this value to indicate that the specified drive is a remote (network) drive.
Property
DRIVE_REMOVABLE
DRIVE_REMOVABLE
"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.
Property
GetSystemDirectory
Get System Directory
"Get Windows System Directory Name" Returns the name of the Windows system directory, usually "C: \WINDOWS\SYSTEM"
Property
GetTempPath
Get Temp Path
"Get Temporary Path Name" Returns the name of the Windows temporary directory.
Property
GetWindowsDirectory
Get Windows Directory
"Get Windows Directory Name" Returns the name of the user's Windows directory, usually "C: \WINDOWS"
Property
GetWindowsVersion
Get Windows Version
Get the version number of Microsoft Windows and return it in the form of a string.
Property
ProfileFileName
Profile File Name
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.
Property
ProfileSectionName
Profile Section Name
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.
Property
CharToOem
Char To Oem
"ANSI Characters To OEM Characters" Converts ANSI (Windows) characters to the OEM (DOS) character set. Used to be known as AnsiToOem.
Function
CoerceBooleanToInteger
Coerce Boolean To Integer
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.
Function
CoerceCurrencyToDouble
Coerce Currency To Double
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.
Function
CoerceDoubleToCurrency
Coerce Double To Currency
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.
Function
CoerceIntegerToBoolean
Coerce Integer To Boolean
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.
Function
CoerceLongToSingle
Coerce Long To Single
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.
Function
CoerceSingleToLong
Coerce Single To Long
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.
Function
CoerceTwoBytesToInteger
Coerce Two Bytes To Integer
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.
Function
CoerceTwoIntegersToLong
Coerce Two Integers To Long
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.
Function
CoerceTwoLongsToDouble
Coerce Two Longs To Double
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.
Function
DRIVEConstantToString
DRIVE Constant To String
Return a word that describes one of the DRIVE Constants.
Function
GetDriveType
Get Drive Type
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.
Function
GetModuleFileName
Get Module File Name
Return the file name of the program associated with the Windows Module Handle vModuleHandle.
Function
GetPrivateProfileInt
Get Private Profile Int
"Get Private Profile Integer" Get the value of an Integer numeric setting from a Windows Private Profile (INI) file. Function returns a Long value.
Function
GetPrivateProfileSection
Get Private Profile Section
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.
Function
GetPrivateProfileString
Get Private Profile String
Get the value of a String setting from a Windows Private Profile (INI) file.
Function
GetProfileInt
Get Profile Int
"Get Profile Integer" Get the value of an (Integer) numeric setting from the Windows Registry. Function returns a Long value.
Function
GetProfileSection
Get Profile Section
Get all of the settings from a section of the Windows Registry. Function returns True upon success and False upon failure.
Function
GetProfileString
Get Profile String
Get the value of a String setting from the Windows Registry.
Function
GetTempFileName
Get Temp File Name
"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.
Function
HIBYTE
HIBYTE
"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.
Function
HIDWORD
HIDWORD
"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.
Function
HIWORD
HIWORD
"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.
Function
LOBYTE
LOBYTE
"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.
Function
LODWORD
LODWORD
"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.
Function
LOWORD
LOWORD
"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.
Function
OemToChar
Oem To Char
"OEM Characters To ANSI Characters" Converts OEM (DOS) characters to the ANSI (Windows) character set. Used to be known as OemToAnsi.
Function
ShellNoWait
Shell No Wait
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.
Function
ShellWait
Shell Wait
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.
Function
WritePrivateProfileString
Write Private Profile String
Writes a Key Name and Value pair into a Windows Private Profile (INI) file.
Function
WriteProfileString
Write Profile String
Write a Key Name and Value pair into the Windows Registry.
Function
GetDriveTypeSample
Get Drive Type Sample
View VB6 signature, parameters, and usage notes.
Sub
GetPrivateProfileSectionSample
Get Private Profile Section Sample
View VB6 signature, parameters, and usage notes.
Sub
GetProfileSectionSample
Get Profile Section Sample
View VB6 signature, parameters, and usage notes.
Sub