I would like my modem to dial by using TAPI.

Previous to the dialing, I would like to send commands to modem
and set various modem registers. How do I perform the task?

Thanks.