DBI calls to BDE

Hi, I would appreciate you if can take the time out and help...

I need to make a series of DBI calls to Borland Database Engine to
duplicate the processes that are done in Database Desktop!

eg. DBIAddIndex, DBIReGenIndexes, etc

1) DBIAddIndex - How to specify the index descriptor in Delphi v1
                 As for the rest.. DBHandle, Handle... I already know,
                 but just don't know the rest..

2) How do I erase and create new indexes using DBI calls, just as I can
   do it in the Database Desktop.

Thanks in advance.

Luke Chiam