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

Home NTFSD

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


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:[email protected]]
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" <[email protected]> wrote in message news:[email protected]
>
> 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: [email protected]
> > [mailto:[email protected]] 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: [email protected]
> > To unsubscribe send a blank email to [email protected]
> >
>
>
>
>



---
You are currently subscribed to ntfsd as: [email protected]
To unsubscribe send a blank email to [email protected]

________________________________________________________________________
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:[email protected]]
    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:[email protected]]
    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" <[email protected]> wrote in message news:[email protected]
    >
    > 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: [email protected]
    > > [mailto:[email protected]] 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: [email protected]
    > > To unsubscribe send a blank email to [email protected]
    > >
    >
    >
    >
    >



    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ________________________________________________________________________
    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: [email protected]
    To unsubscribe send a blank email to [email protected]
  • 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:[email protected]]
    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:[email protected]]
    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:[email protected]]
    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" <[email protected]> wrote in message news:[email protected]
    >
    > 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: [email protected]
    > > [mailto:[email protected]] 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: [email protected]
    > > To unsubscribe send a blank email to [email protected]
    > >
    >
    >
    >
    >



    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ________________________________________________________________________
    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: [email protected]
    To unsubscribe send a blank email to [email protected]

    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ________________________________________________________________________
    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" <[email protected]>
    To: "File Systems Developers" <[email protected]>
    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:[email protected]]
    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:[email protected]]
    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:[email protected]]
    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" <[email protected]> wrote in message news:[email protected]
    >
    > 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: [email protected]
    > > [mailto:[email protected]] 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: [email protected]
    > > To unsubscribe send a blank email to
    [email protected]
    > >
    >
    >
    >
    >



    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ______________________________________________________________________
    __
    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: [email protected]
    To unsubscribe send a blank email to [email protected]

    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ______________________________________________________________________
    __
    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: [email protected]
    To unsubscribe send a blank email to [email protected]
  • 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:[email protected]]
    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" <[email protected]>
    To: "File Systems Developers" <[email protected]>
    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:[email protected]]
    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:[email protected]]
    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:[email protected]]
    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" <[email protected]> wrote in message news:[email protected]
    >
    > 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: [email protected]
    > > [mailto:[email protected]] 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: [email protected]
    > > To unsubscribe send a blank email to
    [email protected]
    > >
    >
    >
    >
    >



    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ______________________________________________________________________
    __
    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: [email protected]
    To unsubscribe send a blank email to [email protected]

    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ______________________________________________________________________
    __
    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: [email protected]
    To unsubscribe send a blank email to [email protected]



    ---
    You are currently subscribed to ntfsd as: [email protected]
    To unsubscribe send a blank email to [email protected]

    ________________________________________________________________________
    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" <[email protected]>
    To: "File Systems Developers" <[email protected]>
    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:[email protected]]
    > 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" <[email protected]>
    > To: "File Systems Developers" <[email protected]>
    > 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:[email protected]]
    > 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:[email protected]]
    > 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:[email protected]]
    > 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" <[email protected]> wrote in message
    news:[email protected]
    > >
    > > 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: [email protected]
    > > > [mailto:[email protected]] 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: [email protected]
    > > > To unsubscribe send a blank email to
    > [email protected]
    > > >
    > >
    > >
    > >
    > >
    >
    >
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    >
    ______________________________________________________________________
    > __
    > 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: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    >
    ______________________________________________________________________
    > __
    > 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: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    >
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    >
    ______________________________________________________________________
    __
    > 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: [email protected]
    > To unsubscribe send a blank email to [email protected]
    >
    >
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
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 2 August 2021 Live, Online
Kernel Debugging 27 Sept 2021 Live, Online