Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available


Download PDF here: http://insider.osr.com/2019/ntinsider_2019_01.pdf

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

CDAUDIO Filter Driver Dynamic Load

OSR_Community_UserOSR_Community_User Member Posts: 110,217
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:xxxxx@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
> > Sent: Thursday, March 27, 2003 8:32 PM
> > To: File Systems Developers
> > Subject: [ntfsd] File owner of NTFS
> >
> >
> > I am looking for a C++ API to get the owner of a file. I am
> > traversing the filesystem using FindFirst(), FindNext() APIs.
> >
> > Thanks,
> > Siddharth
> >
> >
> >
> > ---
> > You are currently subscribed to ntfsd as: xxxxx@nryan.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
________________________________________________________________________

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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:xxxxx@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
    > > Sent: Thursday, March 27, 2003 8:32 PM
    > > To: File Systems Developers
    > > Subject: [ntfsd] File owner of NTFS
    > >
    > >
    > > I am looking for a C++ API to get the owner of a file. I am
    > > traversing the filesystem using FindFirst(), FindNext() APIs.
    > >
    > > Thanks,
    > > Siddharth
    > >
    > >
    > >
    > > ---
    > > You are currently subscribed to ntfsd as: xxxxx@nryan.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@osr.com
    To unsubscribe send a blank email to xxxxx@lists.osr.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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:xxxxx@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
    > > Sent: Thursday, March 27, 2003 8:32 PM
    > > To: File Systems Developers
    > > Subject: [ntfsd] File owner of NTFS
    > >
    > >
    > > I am looking for a C++ API to get the owner of a file. I am
    > > traversing the filesystem using FindFirst(), FindNext() APIs.
    > >
    > > Thanks,
    > > Siddharth
    > >
    > >
    > >
    > > ---
    > > You are currently subscribed to ntfsd as: xxxxx@nryan.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@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
    ________________________________________________________________________
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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:xxxxx@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
    > > Sent: Thursday, March 27, 2003 8:32 PM
    > > To: File Systems Developers
    > > Subject: [ntfsd] File owner of NTFS
    > >
    > >
    > > I am looking for a C++ API to get the owner of a file. I am
    > > traversing the filesystem using FindFirst(), FindNext() APIs.
    > >
    > > Thanks,
    > > Siddharth
    > >
    > >
    > >
    > > ---
    > > You are currently subscribed to ntfsd as: xxxxx@nryan.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@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
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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:xxxxx@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
    > > Sent: Thursday, March 27, 2003 8:32 PM
    > > To: File Systems Developers
    > > Subject: [ntfsd] File owner of NTFS
    > >
    > >
    > > I am looking for a C++ API to get the owner of a file. I am
    > > traversing the filesystem using FindFirst(), FindNext() APIs.
    > >
    > > Thanks,
    > > Siddharth
    > >
    > >
    > >
    > > ---
    > > You are currently subscribed to ntfsd as: xxxxx@nryan.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@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
    ________________________________________________________________________
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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
    >
    > 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:xxxxx@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
    > > > Sent: Thursday, March 27, 2003 8:32 PM
    > > > To: File Systems Developers
    > > > Subject: [ntfsd] File owner of NTFS
    > > >
    > > >
    > > > I am looking for a C++ API to get the owner of a file. I am
    > > > traversing the filesystem using FindFirst(), FindNext() APIs.
    > > >
    > > > Thanks,
    > > > Siddharth
    > > >
    > > >
    > > >
    > > > ---
    > > > You are currently subscribed to ntfsd as: xxxxx@nryan.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@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
    >
    ______________________________________________________________________
    __
    >
    >
    > ---
    > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
    > To unsubscribe send a blank email to xxxxx@lists.osr.com
    >
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE