Serial Filter driver question

Discussion in 'Windows Vista Drivers' started by Paul Bartlett, Jul 9, 2004.

  1. Hi,

    I'm new to device driver writing and would like a quick pointer about which
    direction to go. I need to filter messages on the modem (e.g via RAS) and
    if a certain string is sent to the modem (e.g. ATDT) then display a dialog
    to the user to ask whether they should allow it or not.

    I have seen many examples of filter drivers and the Alex Bessonov WDJ 98
    article seems a good, clean simple starting point although NuMega have a
    good sample in Driverworks too.

    I can see the code where the IRP_MJ_WRITE is done and can change the buffer
    to prevents text being sent (change text to spaces), but what is the best
    technique to queue the request and then wait for a response from the user.
    I assume I need to have a user mode app and commmunicate with it via IOCTL,
    but what is the best way to hold off the IRP_MJ_WRITE request until the user
    dialog is answered?

    Thanks a lot
    Paul Bartlett
    Paul Bartlett, Jul 9, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.