if I only know Volume's name ,can I attach driver with FltAttachVolume?

well, now I want to attach driver to a volume with API FltAttachVolume, but DDK says,
FltAttachVolume(
IN PFLT_FILTER Filter,
IN PFLT_VOLUME Volume,
IN PCUNICODE_STRING InstanceName OPTIONAL,
OUT PFLT_INSTANCE *RetInstance OPTIONAL
);
I only konw the volume’s name(Device\HarddiskVolumeXXX), How can I get parameters: IN PFLT_VOLUME Volume?

thank You!

*FltGetVolumeFromName*

xxxxx@yahoo.com.cn wrote:

well, now I want to attach driver to a volume with API FltAttachVolume, but DDK says,
FltAttachVolume(
IN PFLT_FILTER Filter,
IN PFLT_VOLUME Volume,
IN PCUNICODE_STRING InstanceName OPTIONAL,
OUT PFLT_INSTANCE *RetInstance OPTIONAL
);
I only konw the volume’s name(Device\HarddiskVolumeXXX), How can I get parameters: IN PFLT_VOLUME Volume?

thank You!


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

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