> Gahhhhhhhhhhhhhh, I’m sick of this shit! Someone ask a question about
developing NT device drivers, before I lose my fucking mind.
– arlie
Okay. Here’s one that first bothered me so long ago that I had
forgotten it (and long since worked around the problem). How can I,
within a 1394 function driver, come up with the host node address (the
node I am communicating from, not
the node address of the device I’m controlling) without resorting to
asking my device “Who am I”?
Rob
xxxxx@telusplanet.net
REQUEST_GET_ADDR_FROM_DEVICE_OBJECT with
u.Get1394AddressFromDeviceObject.fulFlags set to USE_LOCAL_NODE.
–
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm
“Robert Newton” wrote in message
news:xxxxx@ntdev…
>
> > Gahhhhhhhhhhhhhh, I’m sick of this shit! Someone ask a question about
> > developing NT device drivers, before I lose my fucking mind.
> >
> > – arlie
>
> Okay. Here’s one that first bothered me so long ago that I had
> forgotten it (and long since worked around the problem). How can I,
> within a 1394 function driver, come up with the host node address (the
> node I am communicating from, not
> the node address of the device I’m controlling) without resorting to
> asking my device “Who am I”?
>
> Rob
> xxxxx@telusplanet.net
>
>
>
>
REQUEST_GET_LOCAL_HOST_PROPERTIES, if my memory is correct.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Robert Newton”
To: “Windows System Software Devs Interest List”
Sent: Monday, December 15, 2003 11:04 PM
Subject: [ntdev] nt dev question
> > Gahhhhhhhhhhhhhh, I’m sick of this shit! Someone ask a question about
> > developing NT device drivers, before I lose my fucking mind.
> >
> > – arlie
>
> Okay. Here’s one that first bothered me so long ago that I had
> forgotten it (and long since worked around the problem). How can I,
> within a 1394 function driver, come up with the host node address (the
> node I am communicating from, not
> the node address of the device I’m controlling) without resorting to
> asking my device “Who am I”?
>
> Rob
> xxxxx@telusplanet.net
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
That will get you the unique ID of the host controller, not the node
address. I believe the node address is what the OP was looking for.
–
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> REQUEST_GET_LOCAL_HOST_PROPERTIES, if my memory is correct.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Robert Newton”
> To: “Windows System Software Devs Interest List”
> Sent: Monday, December 15, 2003 11:04 PM
> Subject: [ntdev] nt dev question
>
>
> > > Gahhhhhhhhhhhhhh, I’m sick of this shit! Someone ask a question about
> > > developing NT device drivers, before I lose my fucking mind.
> > >
> > > – arlie
> >
> > Okay. Here’s one that first bothered me so long ago that I had
> > forgotten it (and long since worked around the problem). How can I,
> > within a 1394 function driver, come up with the host node address (the
> > node I am communicating from, not
> > the node address of the device I’m controlling) without resorting to
> > asking my device “Who am I”?
> >
> > Rob
> > xxxxx@telusplanet.net
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> REQUEST_GET_ADDR_FROM_DEVICE_OBJECT with
u.Get1394AddressFromDeviceObject.fulFlags set to USE_LOCAL_NODE.
–
Bill McKenzie
Compuware Corporation
Wow, that was a fast reply.
Thanks, don’t know how I missed that. I was probably expecting to find
the information in LOCAL_HOST_INFO
Rob
xxxxx@telusplanet.net
> Thanks, don’t know how I missed that. I was probably expecting to find
the information in LOCAL_HOST_INFO
That would be intuitive: definitely NOT a design consideration in the
Windows 1394 driver stack 
–
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm
“Robert Newton” wrote in message
news:xxxxx@ntdev…
>
> > REQUEST_GET_ADDR_FROM_DEVICE_OBJECT with
> > u.Get1394AddressFromDeviceObject.fulFlags set to USE_LOCAL_NODE.
> >
> > –
> > Bill McKenzie
> > Compuware Corporation
>
> Wow, that was a fast reply.
> Thanks, don’t know how I missed that. I was probably expecting to find
> the information in LOCAL_HOST_INFO
>
> Rob
> xxxxx@telusplanet.net
>
>
>
>