. DirectXtras Home

DirectCommunication Xtra
DirectConnection Xtra
DirectControl Xtra
DirectEmail Xtra
DirectFTP Xtra
DirectImage Xtra
DirectInteraction Xtra
DirectOS Xtra
License Agreement
Licensing Fees
Order Form
DirectSMS Xtra
DirectSound Xtra
DirectTransition Xtra
DirectTransition3D Xtra Set I
DirectTransition3D Xtra Set II
DirectTransition3D Xtra Set III
DirectTTS Xtra
DirectXport Xtra


Special Discounted Bundles

The Gallery
How To Order
Order Form
Check for Upgrades

Sign in
Change Your Profile

Contact Us

Xtra Power for Director & Authorware

DirectOS Xtra
 Directing Windows and MacOS. The OS at your fingertips!

Authorware 4.x Compatible Authorware 5.x CompatibleAuthorware 6.x CompatibleAuthorware 7.x CompatibleDirector 5.x Compatible Director 6.x CompatibleDirector 7.x Compatible Director 8.x CompatibleDirector MX Compatible     MacOS 8.x and 9.x CompatibleMacOS X CompatibleWindows Compatible   

dosListKeysINI(string FileName, string SectionName)

Returns the names of all keys in the specified section of the specified INI file. The function will list all keys  in order from top to bottom in the section. INI files are text files that allow storage of strings within organized keys within organized sections. INI files are a standard file format, therefore this method may be used to query for all available keys in a section of INI files created by other applications as long as the INI file conforms to the standard format. 

FileName : A string specifying the drive, location and name of the INI file to delete from. For example, "C:\Docs\MyDoc.ini" on Windows or "My Mac:Docs:My Doc" on MacOS. On Windows, all files and folders in the pathname may be specified by their Windows name or MS-DOS name. 
SectionName : A string specifying the section to delete from. This parameter is case insensitive. This parameter must contain at least one character, no ] and no enters. 

Return Value : A linear list of strings containing the names of all keys within the specified section of the specified INI file. If an error occurred, an empty linear list is returned, in which case dosGetLastError() should be called to determine the cause of the error. 

Possible Returned Error Codes via dosGetLastError() :
10014 : File expected. A reference to a drive or folder was given. 
10016 : File not found. 
10024 : Bad INI file. The INI file specified is in an invalid format.
10025 : Section not found. The INI file specified does not contain the specified section.

DirectXtras Inc.
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: info@directxtras.com
E-mail Technical Support: support@directxtras.com

Copyright 1996-2004 DirectXtras Inc. All Rights Reserved.
WebMaster: tamar@directxtras.com
Last Updated: 2/18/2002 3:15:23 PM.