IoGetDeviceProperty

when i try to use IoGetDeviceProperty()in my FSF driver i got
a error IoGetDeviceProperty() not found so i included ntddk.h
and i get alot of redefinition errors, can i use
IoGetDeviceProperty ?

This function is not in ntifs.h. If you need to use it, I would suggest
copying just the prototype of it and placing it into your source file.
While not pretty, this is unfortunately necessary because there are some
functions that are only in ntddk.h that are not also in ntifs.h.

Hopefully this will be resolved in the WDK.

Oh, you do understand you won’t be able to use that on a file system
device object, right? File systems do not employ the PDO/FDO
abstraction. It will work on the MEDIA device object, but not the file
system mounted on that media volume.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.or.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@uow.edu.au
Sent: Monday, August 15, 2005 9:35 AM
To: ntfsd redirect
Subject: [ntfsd] IoGetDeviceProperty

when i try to use IoGetDeviceProperty()in my FSF driver i got
a error IoGetDeviceProperty() not found so i included ntddk.h
and i get alot of redefinition errors, can i use
IoGetDeviceProperty ?


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

i want to test in SfAttachToMountedDevice in sfilter example
if the DeviceObject is part of usb mass storage device.

---- Original message ----

Date: Mon, 15 Aug 2005 09:47:44 -0400
From: “Tony Mason”
>Subject: RE: [ntfsd] IoGetDeviceProperty
>To: “Windows File Systems Devs Interest List”

>
>This function is not in ntifs.h. If you need to use it, I
would suggest
>copying just the prototype of it and placing it into your
source file.
>While not pretty, this is unfortunately necessary because
there are some
>functions that are only in ntddk.h that are not also in
ntifs.h.
>
>Hopefully this will be resolved in the WDK.
>
>Oh, you do understand you won’t be able to use that on a
file system
>device object, right? File systems do not employ the PDO/FDO
>abstraction. It will work on the MEDIA device object, but
not the file
>system mounted on that media volume.
>
>Regards,
>
>Tony
>
>Tony Mason
>Consulting Partner
>OSR Open Systems Resources, Inc.
>http://www.or.com
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@uow.edu.au
>Sent: Monday, August 15, 2005 9:35 AM
>To: ntfsd redirect
>Subject: [ntfsd] IoGetDeviceProperty
>
>when i try to use IoGetDeviceProperty()in my FSF driver i
got
>a error IoGetDeviceProperty() not found so i included
ntddk.h
>and i get alot of redefinition errors, can i use
>IoGetDeviceProperty ?
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@osr.com
>To unsubscribe send a blank email to leave-ntfsd-
xxxxx@lists.osr.com
>
>—
>Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: unknown lmsubst
tag argument: ‘’
>To unsubscribe send a blank email to leave-ntfsd-
xxxxx@lists.osr.com