Paral Port Mode in BIOS vs parport driver.

Discussion in 'Windows Vista Drivers' started by Rahul, Sep 29, 2003.

  1. Rahul

    Rahul Guest


    I am trying to use Windows' standard parallel port
    driver( parport ) API from within my driver for
    test purposes.
    This is what I do:
    1) using the name "\Device\ParallelPort0" and
    IoGetDeviceObjectPointer(), I get Device Object
    of the parport.
    2) Then I build a device io req using
    IoBuildDeviceIoControlRequest API.
    3) Then I call IoCallDriver().

    I get success and the returned PARALLEL_PNP_INFORMATION
    struct's "HardwareCapabilities" field describes the
    capabilities of the Parallel Port H/W.

    My PC's BIOS Offers: AT, PS/2, EPP and ECP as options
    for the parallel port. But when I check
    the "HardwareCapabilities" field which is a bit mask of
    various possible modes, I only see ECP capability, This
    field never shows EPP capability in this field of

    Why does paport show fewer capabilities? Can someone help?

    Rahul, Sep 29, 2003
    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.