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

Home NTDEV

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.

1/4 Sized VGA

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hello All
This may or may Be a device driver related question. If not forgive my
ignorance in posing it here.
Our firm manufactures a product which contains a 1/4 sized VGA (x 320 y
240) Flat Plasma Panel Touch screen.
We are of Course running NT 4.0 SP 5 in this product.
We wish to cause NT to reposition its Logo and all Pop-up Dialog Boxes
From the Center of the normal Sized
VGA to the center of our Smaller Display as the never even show up on
our tiny screen.
I and others here have searched for registry settings which would have
this effect and came up empty.
Do we need to customize our video driver or are the some undiscovered
registry settings we can create to save some time.
Thanks in advance
Sanford Hayes
Livingston & Co. Inc
www.livco.com

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    > I and others here have searched for registry settings which would have
    > this effect and came up empty.

    On my machine with s3 video, the following key contains the screen sizes
    data:
    HKEY_CURRENT_CONFIG\System\CurrentControlSet\Services\s3\Device0
    DefaultSettings.YResolution REG_DWORD
    DefaultSettings.YResolution REG_DWORD
    Looks like this is a device-independent structure - replace "s3" with your
    video driver name.

    Max
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    > -----Original Message-----
    > From: Maxim S. Shatskih [SMTP:[email protected]]
    > Sent: Monday, April 17, 2000 11:09 PM
    > To: NT Developers Interest List
    > Subject: [ntdev] Re: 1/4 Sized VGA
    >
    > > I and others here have searched for registry settings which would
    > have
    > > this effect and came up empty.
    >
    > On my machine with s3 video, the following key contains the screen
    > sizes
    > data:
    > HKEY_CURRENT_CONFIG\System\CurrentControlSet\Services\s3\Device0
    > DefaultSettings.YResolution REG_DWORD
    > DefaultSettings.YResolution REG_DWORD
    > Looks like this is a device-independent structure - replace "s3" with
    > your
    > video driver name.
    >
    No, these are device depended values. They can be different for
    different display drivers.

    -----Original Message-----
    From: Hayes, Sanford [SMTP:[email protected]]
    Sent: Saturday, April 15, 2000 12:39 AM
    To: NT Developers Interest List
    Subject: [ntdev] 1/4 Sized VGA

    Our firm manufactures a product which contains a 1/4 sized VGA
    (x 320 y
    240) Flat Plasma Panel Touch screen.
    We wish to cause NT to reposition its Logo and all Pop-up Dialog
    Boxes
    From the Center of the normal Sized
    VGA to the center of our Smaller Display as the never even show
    up on
    our tiny screen.
    I and others here have searched for registry settings which
    would have
    this effect and came up empty.
    Do we need to customize our video driver or are the some
    undiscovered
    registry settings we can create to save some time.

    I think the best way is to write your own display driver. You'll be able
    to tell NT, what resolutions your equipment supports with the help of
    DrvGetModes() function. In the DDK you'll find samples, which will help
    you to do it.

    ---------
    Bye,
    Sab



    > ---
    > You are currently subscribed to ntdev 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!
Writing WDF Drivers 24 January 2022 Live, Online
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online