IoGetDiskDeviceObject

IoGetDiskDeviceObject

Post by Carl Woodw » Wed, 01 Feb 2006 00:21:26


Dear all,

In my FsRegistrationNotification callback I call IoEnumerateDeviceObjects
for each file system and use IoGetDiskDevice to identify mounted volumes in
the device object list. Is it safe to assume that if IoGetDiskDeviceObject
succeeds that the device object is a volume that I can filter? I ask this
only because in the sfilter example they do it a slightly different way, I
just wondered if my method is a safe shortcut. My target OS is XP onwards, I
know that this wont work on W2K, but that is fine.

Thanks in advance,

Carly