Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

Upcoming File Systems Related Seminars:
File Systems, Santa Clara, CA 26 October 2010


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 6  
28 Mar 03 05:09
ntfsd member 8872
xxxxxx@first4internet.co.uk
Join Date:
Posts To This List: 16
CDAUDIO Filter Driver Dynamic Load

Hi, Is there a way that I can get the CDAUDIO filter driver example in the DDK to load and unload dynamically? I have used the addfilter app in the DDK to install it but the driver does not load until the next reboot. Thanks Ceri -----Original Message----- From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] Sent: 28 March 2003 09:38 To: File Systems Developers Subject: [ntfsd] Re: File owner of NTFS Thanks for your reply. I used the GetSecurityInfo() + LookupAccountSid() APIs and they seem to work. But the only problem is that for most files on my C drive, the account name is reported as "Everyone". On the other hand, for files on other drives, the account is correctly reported as "Administrator" or other valid users (actually visible via the NT user manager) What is the reason for this behavior? Thanks, Siddharth. "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > Define owner... You mean security-wise? In Win32, try GetFileSecurity() > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > OWNER_SECURITY_INFORMATION > > - Nicholas Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > Siddharth Aggarwal <...excess quoted lines suppressed...> --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
  Message 2 of 6  
28 Mar 03 05:16
Tony Mason
xxxxxx@osr.com
Join Date:
Posts To This List: 2076
List Moderator
RE: CDAUDIO Filter Driver Dynamic Load

You cannot dynamically add filters to the middle of a driver stack. Thus, it isn't generally possible to have a device filter load properly until the next boot of the system. The exception is that you may add a new driver to the TOP of the stack - in this case the I/O Manager will adjust to send new requests to the new top driver. Other OS components, however, may not handle a new driver nearly so well. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Ceri Coburn [mailto:xxxxx@first4internet.co.uk] Sent: Friday, March 28, 2003 5:07 AM To: File Systems Developers Subject: [ntfsd] CDAUDIO Filter Driver Dynamic Load Hi, Is there a way that I can get the CDAUDIO filter driver example in the DDK to load and unload dynamically? I have used the addfilter app in the DDK to install it but the driver does not load until the next reboot. Thanks Ceri -----Original Message----- From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] Sent: 28 March 2003 09:38 To: File Systems Developers Subject: [ntfsd] Re: File owner of NTFS Thanks for your reply. I used the GetSecurityInfo() + LookupAccountSid() APIs and they seem to work. But the only problem is that for most files on my C drive, the account name is reported as "Everyone". On the other hand, for files on other drives, the account is correctly reported as "Administrator" or other valid users (actually visible via the NT user manager) What is the reason for this behavior? Thanks, Siddharth. "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > Define owner... You mean security-wise? In Win32, try GetFileSecurity() > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > OWNER_SECURITY_INFORMATION > > - Nicholas Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > Siddharth Aggarwal <...excess quoted lines suppressed...> --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 3 of 6  
28 Mar 03 05:24
ntfsd member 8872
xxxxxx@first4internet.co.uk
Join Date:
Posts To This List: 16
RE: CDAUDIO Filter Driver Dynamic Load

Tony, What I'm trying to achieve is to filter SCSI Commands sent to a CDROM drive. What would be the best approach for me to do this while being able to load the driver dynamically? I am very new to programming drivers so if I sound un-knowledgeable then it's because I am. Thanks Ceri -----Original Message----- From: Tony Mason [mailto:xxxxx@osr.com] Sent: 28 March 2003 10:25 To: File Systems Developers Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load You cannot dynamically add filters to the middle of a driver stack. Thus, it isn't generally possible to have a device filter load properly until the next boot of the system. The exception is that you may add a new driver to the TOP of the stack - in this case the I/O Manager will adjust to send new requests to the new top driver. Other OS components, however, may not handle a new driver nearly so well. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Ceri Coburn [mailto:xxxxx@first4internet.co.uk] Sent: Friday, March 28, 2003 5:07 AM To: File Systems Developers Subject: [ntfsd] CDAUDIO Filter Driver Dynamic Load Hi, Is there a way that I can get the CDAUDIO filter driver example in the DDK to load and unload dynamically? I have used the addfilter app in the DDK to install it but the driver does not load until the next reboot. Thanks Ceri -----Original Message----- From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] Sent: 28 March 2003 09:38 To: File Systems Developers Subject: [ntfsd] Re: File owner of NTFS Thanks for your reply. I used the GetSecurityInfo() + LookupAccountSid() APIs and they seem to work. But the only problem is that for most files on my C drive, the account name is reported as "Everyone". On the other hand, for files on other drives, the account is correctly reported as "Administrator" or other valid users (actually visible via the NT user manager) What is the reason for this behavior? Thanks, Siddharth. "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > Define owner... You mean security-wise? In Win32, try GetFileSecurity() > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > OWNER_SECURITY_INFORMATION > > - Nicholas Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > Siddharth Aggarwal <...excess quoted lines suppressed...> --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
  Message 4 of 6  
28 Mar 03 09:34
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 23 Feb 2000
Posts To This List: 3623
RE: CDAUDIO Filter Driver Dynamic Load

For w2k+, make a PnP filter and use UpperFilters or LowerFilters to install it. On NT4, you will need a boot-loaded driver. Max ----- Original Message ----- From: "Ceri Coburn" <xxxxx@first4internet.co.uk> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Friday, March 28, 2003 1:21 PM Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load Tony, What I'm trying to achieve is to filter SCSI Commands sent to a CDROM drive. What would be the best approach for me to do this while being able to load the driver dynamically? I am very new to programming drivers so if I sound un-knowledgeable then it's because I am. Thanks Ceri -----Original Message----- From: Tony Mason [mailto:xxxxx@osr.com] Sent: 28 March 2003 10:25 To: File Systems Developers Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load You cannot dynamically add filters to the middle of a driver stack. Thus, it isn't generally possible to have a device filter load properly until the next boot of the system. The exception is that you may add a new driver to the TOP of the stack - in this case the I/O Manager will adjust to send new requests to the new top driver. Other OS components, however, may not handle a new driver nearly so well. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Ceri Coburn [mailto:xxxxx@first4internet.co.uk] Sent: Friday, March 28, 2003 5:07 AM To: File Systems Developers Subject: [ntfsd] CDAUDIO Filter Driver Dynamic Load Hi, Is there a way that I can get the CDAUDIO filter driver example in the DDK to load and unload dynamically? I have used the addfilter app in the DDK to install it but the driver does not load until the next reboot. Thanks Ceri -----Original Message----- From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] Sent: 28 March 2003 09:38 To: File Systems Developers Subject: [ntfsd] Re: File owner of NTFS Thanks for your reply. I used the GetSecurityInfo() + LookupAccountSid() APIs and they seem to work. But the only problem is that for most files on my C drive, the account name is reported as "Everyone". On the other hand, for files on other drives, the account is correctly reported as "Administrator" or other valid users (actually visible via the NT user manager) What is the reason for this behavior? Thanks, Siddharth. "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > Define owner... You mean security-wise? In Win32, try GetFileSecurity() > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > OWNER_SECURITY_INFORMATION > > - Nicholas Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > Siddharth Aggarwal <...excess quoted lines suppressed...> xxxxx@lists.osr.com > > > > > > --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ --- You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 5 of 6  
01 Apr 03 03:00
ntfsd member 8872
xxxxxx@first4internet.co.uk
Join Date:
Posts To This List: 16
RE: CDAUDIO Filter Driver Dynamic Load

Max, Forgive me here, but could you explain in little more detail as I am very new to programming windows drivers. What would I require to change in the XP DDK cdaudio example to make this possible? Or do you have any links which I get my info from? Thanks Ceri -----Original Message----- From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com] Sent: 28 March 2003 14:34 To: File Systems Developers Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load For w2k+, make a PnP filter and use UpperFilters or LowerFilters to install it. On NT4, you will need a boot-loaded driver. Max ----- Original Message ----- From: "Ceri Coburn" <xxxxx@first4internet.co.uk> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Friday, March 28, 2003 1:21 PM Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load Tony, What I'm trying to achieve is to filter SCSI Commands sent to a CDROM drive. What would be the best approach for me to do this while being able to load the driver dynamically? I am very new to programming drivers so if I sound un-knowledgeable then it's because I am. Thanks Ceri -----Original Message----- From: Tony Mason [mailto:xxxxx@osr.com] Sent: 28 March 2003 10:25 To: File Systems Developers Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load You cannot dynamically add filters to the middle of a driver stack. Thus, it isn't generally possible to have a device filter load properly until the next boot of the system. The exception is that you may add a new driver to the TOP of the stack - in this case the I/O Manager will adjust to send new requests to the new top driver. Other OS components, however, may not handle a new driver nearly so well. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Ceri Coburn [mailto:xxxxx@first4internet.co.uk] Sent: Friday, March 28, 2003 5:07 AM To: File Systems Developers Subject: [ntfsd] CDAUDIO Filter Driver Dynamic Load Hi, Is there a way that I can get the CDAUDIO filter driver example in the DDK to load and unload dynamically? I have used the addfilter app in the DDK to install it but the driver does not load until the next reboot. Thanks Ceri -----Original Message----- From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] Sent: 28 March 2003 09:38 To: File Systems Developers Subject: [ntfsd] Re: File owner of NTFS Thanks for your reply. I used the GetSecurityInfo() + LookupAccountSid() APIs and they seem to work. But the only problem is that for most files on my C drive, the account name is reported as "Everyone". On the other hand, for files on other drives, the account is correctly reported as "Administrator" or other valid users (actually visible via the NT user manager) What is the reason for this behavior? Thanks, Siddharth. "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > Define owner... You mean security-wise? In Win32, try GetFileSecurity() > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > OWNER_SECURITY_INFORMATION > > - Nicholas Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > Siddharth Aggarwal <...excess quoted lines suppressed...> xxxxx@lists.osr.com > > > > > > --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ ______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ______________________________________________________________________ __ --- You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk To unsubscribe send a blank email to xxxxx@lists.osr.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
  Message 6 of 6  
03 Apr 03 13:44
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 23 Feb 2000
Posts To This List: 3623
RE: CDAUDIO Filter Driver Dynamic Load

CDAUDIO is a great sample, which does not require major changes, just overwrite the code paths you want. Max ----- Original Message ----- From: "Ceri Coburn" <xxxxx@first4internet.co.uk> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Tuesday, April 01, 2003 11:56 AM Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load > Max, > > Forgive me here, but could you explain in little more detail as I am > very new to programming windows drivers. What would I require to change > in the XP DDK cdaudio example to make this possible? Or do you have any > links which I get my info from? > > Thanks > Ceri > > -----Original Message----- > From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com] > Sent: 28 March 2003 14:34 > To: File Systems Developers > Subject: [ntfsd] RE: CDAUDIO Filter Driver Dynamic Load <...excess quoted lines suppressed...> CDROM > drive. What would be the best approach for me to do this while being > able to load the driver dynamically? I am very new to programming > drivers so if I sound un-knowledgeable then it's because I am. > > Thanks > Ceri > > > -----Original Message----- > From: Tony Mason [mailto:xxxxx@osr.com] > Sent: 28 March 2003 10:25 new > top > driver. Other OS components, however, may not handle a new driver > nearly so > well. > > Regards, > > Tony > > Tony Mason the > DDK to load and unload dynamically? I have used the addfilter app in > the DDK to install it but the driver does not load until the next > reboot. > > Thanks > Ceri > > -----Original Message----- > From: Siddharth Aggarwal [mailto:xxxxx@persistent.co.in] > Sent: 28 March 2003 09:38 > To: File Systems Developers > Subject: [ntfsd] Re: File owner of NTFS > > Thanks for your reply. I used the GetSecurityInfo() + > LookupAccountSid() > APIs and they seem to work. > > But the only problem is that for most files on my C drive, the account > name > is reported as "Everyone". On the other hand, for files on other > drives, > the > account is correctly reported as "Administrator" or other valid users > (actually visible via the NT user manager) > > What is the reason for this behavior? > > Thanks, > Siddharth. > > "Nicholas Ryan" <xxxxx@nryan.com> wrote in message news:42114@ntfsd... > > > > Define owner... You mean security-wise? In Win32, try > GetFileSecurity() > > with OWNER_SECURITY_INFORMATION. In kernel-mode, you can send the > > IRP_MJ_QUERY_SECURITY IRP to a file, also asking for > > OWNER_SECURITY_INFORMATION > > > > - Nicholas Ryan > > > > > -----Original Message----- ______________________________________________________________________ > __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service > working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ > __ > > ______________________________________________________________________ > __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service > working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ > __ > > > --- > You are currently subscribed to ntfsd as: xxxxx@osr.com > To unsubscribe send a blank email to xxxxx@lists.osr.com > > --- > You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk > To unsubscribe send a blank email to xxxxx@lists.osr.com ______________________________________________________________________ > __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service > working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ > __ > > ______________________________________________________________________ > __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service > working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ > __ > > > --- > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com > > > > --- ______________________________________________________________________ __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ __ > > ______________________________________________________________________ __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ __ > > > --- > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com > >
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 13:56.


Copyright ©2005, OSR Open Systems Resourcs, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license