DirectTransition3D Xtra Set I
DirectTransition3D Xtra Set II
DirectTransition3D Xtra Set III
Special Discounted Bundles
How To Order
Check for Upgrades
Change Your Profile
dosGetDriveInfo(string Drive, string Info)
Provides information about the specified drive. The drive is specified as a string in the Drive parameter as the root folder of the desired drive. The exact type of information requested is determined by the Info parameter.
Drive : A
string specifying the root folder of the desired drive. For example,
"C:\" on Windows or "My Mac:" on MacOS.
Return Values : Returns a string or an integer depending on the value of the the Info parameter. If an error occurred, the return value will be an empty string if the function is supposed to return a string, or the integer 0, if the function is supposed to return an integer. In that case, dosGetLastError() should be called to determine the cause of the error.
Possible Returned Error Codes via
Remarks : Windows 9X returns a different serial number than Windows NT4, 2000, XP and later for the same CD-Rom. For example, if the serial number under Windows XP is 280B-965E it would be 5E96-OB28 under Windows 98. You can write a script that converts Windows 9X serial numbers to the format they are stored in newer versions of Windows by doing the following:
1) If the serial numbers are shorter than 8 characters, append zeros at the beginning of the numbers so that they would be 8 characters long. This should be done on both Windows 9X and Window NT serial numbers.
2) Take the last two digits of the serial number returned by Windows 98, set them as the first two digits of a new number. Take the 5th and 6th digits of the Windows 9X number, set them as the 3rd and 4th digits in the new number, respectively. Take the 3rd and 4th digits of the Windows 9X number, set them as the 5th and 6th digits of the new number, respectively. Take the first two digits of the Windows 9X number, set them as the last 2 digits of the new number. The newly created number should be a serial number similar to the one reported on Windows NT4 and later.
Under MacOS X the function returns drive type "Removable" for CD ROM drives.
P.O Box 2645, Menlo Park, CA, 94026, U.S.A
Voice: +1-415-5058249, Fax: +1-801-8585841
Toll Free: 1-800-4453093
E-mail General Information: firstname.lastname@example.org
E-mail Technical Support: email@example.com
Copyright © 1996-2004 DirectXtras Inc. All Rights Reserved.