|
Prev: malloc,free,mbtow problem
Next: WPP & KMDF Crash
From: Erik HG on 30 Apr 2008 11:30 I notice that there are a series of Bluetooth functions that talk to and return a handle to BthPort. I need something like "\\?\BthPort" that I can call from another driver. Unfortunately MS made all the control calls only callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and not from the App layer so I need to write a relay driver to call SCO. I see that BthPen, BthModem, BthEnum, and BthUSB have calls. What is the exported device name for BthPort? Thanks, -Erik
From: Doron Holan [MSFT] on 30 Apr 2008 13:38 bthenum will enumerate your PDO and when you attach to it, it will forward io you send to the PDO to bthport. this is how all of the BRBs work d -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "Erik HG" <ErikHG(a)discussions.microsoft.com> wrote in message news:B3B09EE5-9D47-4850-A9D8-82AFEE01A4CB(a)microsoft.com... >I notice that there are a series of Bluetooth functions that talk to and > return a handle to BthPort. I need something like "\\?\BthPort" that I > can > call from another driver. Unfortunately MS made all the control calls > only > callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and > not > from the App layer so I need to write a relay driver to call SCO. I see > that > BthPen, BthModem, BthEnum, and BthUSB have calls. > > What is the exported device name for BthPort? > > Thanks, > -Erik > > > >
From: Erik HG on 30 Apr 2008 13:51 Could you please tell me where an example of this is? I haven't written an NT driver since 1996 and am a bit rusty. Thanks, -Erik "Doron Holan [MSFT]" wrote: > bthenum will enumerate your PDO and when you attach to it, it will forward > io you send to the PDO to bthport. this is how all of the BRBs work > > d >
From: Erik HG on 30 Apr 2008 13:55 Could you please tell me where I can get an example of this? Thanks, -Erik "Doron Holan [MSFT]" wrote: > bthenum will enumerate your PDO and when you attach to it, it will forward > io you send to the PDO to bthport. this is how all of the BRBs work > > d > > -- > Please do not send e-mail directly to this alias. this alias is for > newsgroup purposes only. > This posting is provided "AS IS" with no warranties, and confers no rights. > > > "Erik HG" <ErikHG(a)discussions.microsoft.com> wrote in message > news:B3B09EE5-9D47-4850-A9D8-82AFEE01A4CB(a)microsoft.com... > >I notice that there are a series of Bluetooth functions that talk to and > > return a handle to BthPort. I need something like "\\?\BthPort" that I > > can > > call from another driver. Unfortunately MS made all the control calls > > only > > callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and > > not > > from the App layer so I need to write a relay driver to call SCO. I see > > that > > BthPen, BthModem, BthEnum, and BthUSB have calls. > > > > What is the exported device name for BthPort? > > > > Thanks, > > -Erik > > > > > > > > > >
From: Doron Holan [MSFT] on 30 Apr 2008 19:34
if you have not written a driver in over 10 years, alot has happened. you should familiarize yourself with pnp and power and WDM in general. there is a bluetooth sample driver in the 6001 WDK, WinDDK\6001.18000\src\bth\bthecho. i would suggest you that start with sample. d -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "Erik HG" <ErikHG(a)discussions.microsoft.com> wrote in message news:08D6EA8F-ED44-41B6-B51D-A69895E7699E(a)microsoft.com... > Could you please tell me where an example of this is? I haven't written > an > NT driver since 1996 and am a bit rusty. > > Thanks, > -Erik > > "Doron Holan [MSFT]" wrote: > >> bthenum will enumerate your PDO and when you attach to it, it will >> forward >> io you send to the PDO to bthport. this is how all of the BRBs work >> >> d >> |