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/


Microsoft Delete Filter not showing up on DebugView

chex2020chex2020 Member Posts: 3

I am new to Driver writing, I downloaded and built the Delete sample driver provided by Microsoft, I installed it on my VM successfully using the INF file, but when I started the service, it doesn't show up in the DebugView application like other drivers I tested previously. Does anyone have any insight on this? Please help me out.

Comments

  • 0xrepnz0xrepnz Member Posts: 33

    Note that in this sample only errors are logged by default:

    ULONG gTraceFlags = DFDBG_TRACE_ERRORS;
    
    #define DF_PRINT( ... )                                                      \
        DbgPrintEx( DPFLTR_FLTMGR_ID, DPFLTR_ERROR_LEVEL, __VA_ARGS__ )
    
    #define DF_DBG_PRINT( _dbgLevel, ... )                                       \
        (FlagOn( gTraceFlags, (_dbgLevel) ) ?                                    \
            DF_PRINT( __VA_ARGS__ ):                                             \
            (0))
    

    You can add the DFDBG_TRACE_ROUTINES and DFDBG_TRACE_OPERATION_STATUS flags to see more logs

    - Ori Damari
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!
Internals & Software Drivers 30 Nov 2020 LIVE ONLINE
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Developing Minifilters Early 2021 LIVE ONLINE