Unmount a new volumne?

hi,

To filter an entire file system, a file system filter driver creates a
filter device object and attaches it above a file system driver’s CDO in
the global file system queue. The purpose of this filter device object
is to filter volume mount requests.

When such a request is completed successfully, the filter driver can
choose to create a filter device object and attach it to the volume
device object for the newly mounted volume.

WHAT I WANT TO DO IS rejet the new volumn been mounted, is it possible
for the filter driver? if not, how to implement that?

alex

Simply fail the mount request with a reasonable error code.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of AChen
Sent: Monday, April 22, 2002 2:04 AM
To: File Systems Developers
Subject: [ntfsd] Unmount a new volumne?

hi,

To filter an entire file system, a file system filter driver creates a filter device object and attaches it above a file system driver’s CDO in the global file system queue. The purpose of this filter device object is to filter volume mount requests.

When such a request is completed successfully, the filter driver can choose to create a filter device object and attach it to the volume device object for the newly mounted volume.

WHAT I WANT TO DO IS rejet the new volumn been mounted, is it possible for the filter driver? if not, how to implement that?

alexb豆畍礿姴j璻⒐i瀓⒔~鐤