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

Home NTFSD

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

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/


Question about a sample from Rajeev Nagar's book

OSR_Community_UserOSR_Community_User Member Posts: 110,217
I took a compiled sample from Rajeev Nagar's book: SFILTER.SYS (see
O'Reilly's bookstore).I think I can do a file acces filtering .But that
sample do nothing although has a DbgPrint in its souirce code on IRP_CREATE
function.
I like do to something like in that source code .How can I do that?.I could
buy the book but if the compiled sources dosent work....
Thanks
Adi

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    As the name implies, DbgPrint is sent to the debugger. If you are using a
    debugger you will see the output.

    << I took a compiled sample from Rajeev Nagar's book: SFILTER.SYS (see
    O'Reilly's bookstore).I think I can do a file acces filtering .But that
    sample do nothing although has a DbgPrint in its souirce code on IRP_CREATE
    function.
    I like do to something like in that source code .How can I do that?.I could
    buy the book but if the compiled sources dosent work....
    Thanks
    Adi
    >>
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Of course I use a debugger :()
    I am interested if that sample work on someone else's computer because I
    suspect that it is somthing wrong with my computer
    Did you tested it?

    ----- Original Message -----
    From: <[email protected]>
    To: File Systems Developers Interest List <[email protected]>
    Sent: Thursday, February 24, 2000 9:35 PM
    Subject: [ntfsd] Re: Question about a sample from Rajeev Nagar's book


    > As the name implies, DbgPrint is sent to the debugger. If you are using a
    > debugger you will see the output.
    >
    > << I took a compiled sample from Rajeev Nagar's book: SFILTER.SYS (see
    > O'Reilly's bookstore).I think I can do a file acces filtering .But that
    > sample do nothing although has a DbgPrint in its souirce code on
    IRP_CREATE
    > function.
    > I like do to something like in that source code .How can I do that?.I
    could
    > buy the book but if the compiled sources dosent work....
    > Thanks
    > Adi
    > >>
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi,

    Are you using KERNEL debugger? If so, are you compiling with DEBUG flag
    enabled?
    If you are using compiled sources, there may be a chance they are compiled in
    RELEASE mode, thus
    producing no debug output.

    Simple way to see debug output is to use DbgView from www.sysinternals.com...

    Regards,
    Giga

    chirita adrian wrote:

    > Of course I use a debugger :()
    > I am interested if that sample work on someone else's computer because I
    > suspect that it is somthing wrong with my computer
    > Did you tested it?
    >
    > ----- Original Message -----
    > From:
    > To: File Systems Developers Interest List
    > Sent: Thursday, February 24, 2000 9:35 PM
    > Subject: [ntfsd] Re: Question about a sample from Rajeev Nagar's book
    >
    > > As the name implies, DbgPrint is sent to the debugger. If you are using a
    > > debugger you will see the output.
    > >
    > > << I took a compiled sample from Rajeev Nagar's book: SFILTER.SYS (see
    > > O'Reilly's bookstore).I think I can do a file acces filtering .But that
    > > sample do nothing although has a DbgPrint in its souirce code on
    > IRP_CREATE
    > > function.
    > > I like do to something like in that source code .How can I do that?.I
    > could
    > > buy the book but if the compiled sources dosent work....
    > > Thanks
    > > Adi
    > > >>
    > >
    > > ---
    > > You are currently subscribed to ntfsd as: [email protected]
    > > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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!
Kernel Debugging 9-13 Sept 2024 Live, Online
Developing Minifilters 15-19 July 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online