1394 REQUEST_GET_SPEED_BETWEEN_DEVICES

Hello,
The IRB that corresponds to REQUEST_GET_SPEED_BETWEEN devices needs a
PDEVICE_OBJECT in hDestinationDeviceObjects[64]
How does one get a PDEVICE_OBJECT for some device on 1394 bus?
Is there a way to enumerate all such devices from a driver?

Thank You
Constantin Sevici
xxxxx@sensable.com

Hello Constantin,

I used REQUEST_GET_SPEED_BETWEEN_DEVICES only for the local device node of my function device driver so far:

irb.FunctionNumber = REQUEST_GET_SPEED_BETWEEN_DEVICES;
irb.Flags = 0;
irb.u.GetMaxSpeedBetweenDevices.fulFlags = USE_LOCAL_NODE;
irb.u.GetMaxSpeedBetweenDevices.ulNumberOfDestinations = 0;
.
Submit irb down the 1394 bus driver stack synchronously
.
MaxSpeed = irb.u.GetMaxSpeedBetweenDevices.fulSpeed;

For this use case populating hDestinationDeviceObjects isn’t necessary.

Regards,
Volker

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Constantin A.
Sevici
Sent: Sunday, May 07, 2006 7:00 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] 1394 REQUEST_GET_SPEED_BETWEEN_DEVICES

Hello,
The IRB that corresponds to REQUEST_GET_SPEED_BETWEEN
devices needs a
PDEVICE_OBJECT in hDestinationDeviceObjects[64]
How does one get a PDEVICE_OBJECT for some device on 1394 bus?
Is there a way to enumerate all such devices from a driver?

Thank You
Constantin Sevici
xxxxx@sensable.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer