Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > How to attach Bluetooth modem to a serial port programmati..

How to attach Bluetooth modem to a serial port programmati..

Forum Windows 2000/NT : Windows 2000/NT General Discussion - How to attach Bluetooth modem to a serial port programmati..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsnt.protocol.ras (More info?)

 

Hi.



I'm using Microsoft Bluetooth stack and developing an application for
Windows XP. My application is working in background mode and does not
provide UI. It is polling to discover Bluetooth phones using
WSALookupServiceBegin and WSALookupServiceNext, then it calls
BluetoothAuthenticateDevice to authenticate them and when the authentication
is succeeded, e.g. user entered correct pass key or PIN code (this is the
only thing that user must do), the application must attach Bluetooth modem
(bthmodem.sys) to a next free serial port. How can I do this? Which API
should I use to do this programmatically? I can't find the solution either
in MSDN or in any forum I know. Can anybody help me?



Few more questions:

- Is ComDBClaimNextFreePort the only way to get the next free port number?

- Is it possible to Dial-up through a certain modem device (if there is more
then one, of cource) without using szEntryName (RASDIALPARAMS) in RasDial
call?





Best Regards,

K.M.

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > How to attach Bluetooth modem to a serial port programmati..
Go to:

There are 1120 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them