mirror dirver how can i write PLS HELP ME ?

Discussion in 'Windows Vista Drivers' started by kishor patel, Jan 24, 2006.

  1. kishor patel

    kishor patel Guest

    how can i write the mirror driver ?
    and is it work on window 98 also ?

    i want to make a desktop share application .
    so i need to trap all gdi command .
    i m new at driver .

    thank you,

    kishor patel, Jan 24, 2006
    1. Advertisements

  2. kishor patel

    Tim Guest

    How have you found the sample mirror driver in the DDK? It has the bare
    bones of a driver, and an example user mode application to talk to it.

    Have fun,
    Tim, Jan 24, 2006
    1. Advertisements

  3. kishor patel

    Tim Roberts Guest

    As the other Tim pointed, out, there is a sample mirror driver in the DDK.
    No. Display drivers in 98 are entirely different.
    Not necessarily. You can use a Windows hook to get clues about when
    drawing is done, and then use a low-tech solution, like blitting from the
    screen, to fetch the changes.

    Mirror drivers are delicate, difficult to write, and high-impact. In my
    opinion, it is a poor way to write a desktop share application.

    If you have not already downloaded one of the VNC programs, which do
    EXACTLY this function, and tried to decide why it will not solve your
    problem directly, then you are not doing a good job.
    Then you do not want to try a mirror driver. Display drivers are not a
    good place to start.
    Tim Roberts, Jan 26, 2006
  4. kishor patel

    kishor patel Guest

    Thank you very much for reply

    i had try to run ddk mirror driver sample but it could not get installed
    i mean , did not get how to install that driver

    kishor patel, Jan 30, 2006
  5. kishor patel

    kishor patel Guest

    Thank you very much for reply

    sorry i did not get witch gdi api to hook .
    i tried to hook gdi function like outtext bitblt etc .. but i got all hdc
    how do i find the only desktop hcd command.

    previously i tryed desktop share with jpg and png with changes only but then
    also it is slover than EMF based microsoft remote desktop . so
    pls guide me what should i do ?

    another thing i wants to work my application on internet so i need low
    solution. therefore
    kishor patel, Jan 30, 2006
  6. kishor patel

    Tim Guest

    The help page
    suggests hacking the registry, but I recommend fastinst or devcon.

    Tim, Jan 30, 2006
  7. kishor patel

    Tim Roberts Guest

    I didn't mean "hooking APIs". I meant "use a windows hook", using
    SetWindowsHook with something like WH_CBT. That's what it was designed
    What do you mean? You can't get a copy of the screen unless you catch
    drawing on ALL screen DCs.
    I guess you should use Remote Desktop.
    RealVNC and TightVNC perform this task exactly, and full source code is
    available. RealVNC even includes a display driver. Have you downloaded
    Tim Roberts, Feb 1, 2006
    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.