RE: [NTDEV] Is it a PDO or an FDO

As a self reply, but some one may be interested …

There is a bit that, if you check the PCI PDO, is set for a bus enumerated
PDO. It is DO_BUS_ENUMERATED_DEVICE, of all things. How logical. :slight_smile: I also
believe that you might use DO_DEVICE_HAS_NAME, since, at least in my PDO
creation, I pass FILE_AUTOGENERATED_DEVICE_NAME to IoCreateDevice. This
research also pointed out that I had an oops since I was not setting the
DO_BUS_ENUMERATED_DEVICE for my PDOs.

Walter, as a curiosity, how do you chase down the FDO/PDO nodes? Using these
flags or some variant? If you covered it in the book … sorry … I’ll get
off my lazy ass and go back and re-read that section. :slight_smile:

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731

-----Original Message-----
From: Gary Little
Sent: Tuesday, January 08, 2002 5:55 PM
To: NT Development (E-mail)
Subject: [NTDEV] Is it a PDO or an FDO

I have a device object. How can I tell if it is a PDO or an
FDO?

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com