Mirror Driver Sample and Test Application

device driver

    Sponsored Links

    Next

  • 1. replace a gined driver
    Hi, I want to replace a driver with a new version that i've created (i also created the catalog file, inf ). How can I do that correctly, so the signature will be ok? I tried to do it by my computer ->manage->Diagnostics->Devicemanager->right click on my device and then update device software, but then i get a maassage that windows decides that update is not needed?????
  • 2. If I transfer the spooler file to another machine and then print it will it print?
    Hi All, I am writing a printer driver which should Print to Remote machine. I want to know Can I send the spool file itself to the remote machine and then print it. Also I am new to spooling what does spool file contains? Thanks
  • 3. CM_PROB_FAILED_ADD - driver installed successfully?
    Hi all! UMDF/USB driver installed with devcon. Devcon says: Driver installed successfully. Setupapi.dev.log says: error: CM_PROB_FAILED_ADD. Windows device manager says: Could not load driver (err. 31). USB device is NOT attached to the computer. Is there a way to debug the error? I tried it with windbg and wdfverifier but I can not break during loading or starting. Any other ideas? Do I need to sign my driver to get it loaded? I am currently trying to get behind the secrets of driver developing without going through the driver signation process. Thanks in advance. Dee
  • 4. Question about video driver sample source code - mga
    Hello I was looking through the included source code in the NT4 DDK... yes its old, but I guess it should be simpler to understand. In the file ddk\src\video\displays\mga\ENABLE.C it refers to IOCTL_VIDEO_MTZ_QUERY_HW_DATA. Where is the source code for this IOCTL? The source code given in the DDK doesn't even include the code that queries the video card? I would say the provided source code is incomplete. As a challenge for myself, I tried to find the code that determines the amount of RAM on the video card. I couldn't find it. Why did they only provide some of the source code. Why did they leave out the code that queries / initializes the mga video card? Thats only like the most important part of the driver? I am not impressed. Thank you for your help. if (EngDeviceIoControl(ppdev->hDriver, IOCTL_VIDEO_MTX_QUERY_HW_DATA, NULL, // Input 0, &HwData, // Output sizeof(HW_DATA), &ReturnedDataLength))

Mirror Driver Sample and Test Application

Postby anJiMTQwMA » Wed, 20 Feb 2008 10:38:02 GMT

Hi,

I have built and installed the mirror driver sample.
The Attach.ToDesktop registry parameter is set as noted in the documentation.

When I run the test application provided with the sample, 
"ddmlapp -e" uses ChangeDisplaySettingsEx to set the mirror driver device 
mode to the size of the primary display.   When this is done, it appears that 
the mirror driver
 is attached to the primary display.   With "ddmlapp -d" it seems to 
disconnect 
the mirror driver from the display device.

I'm having trouble with mouse pointers.

If I execute   "ddmlapp -e"   first, then use Control panel / mouse to 
change the pointer scheme (to Bronze 3D for example)
-  the mouse pointer shape changes to the "wait" shape but then never 
changes after that
-  I can drag the pointer across window borders but don't get any 
SetPointerShape calls in the mirror driver.   In other words the cursor still 
opeates, byt it is stuck with the hourglass.

If I then execute ddmlapp -d
- the pointer shapes correctly change to the proper set and operate 
normally, changing when appropriate

If I then re-execute ddmlapp -e
- the mouse pointer correctly stays with the new shape set, and I now do get 
SetPointerShape calls to the mirror driver.  The pointer shapes change 
properly to resize arrows when the pointer is moved across window borders.


If I have last executed ddmlapp -d
then I can change the mouse pointer set all I want without any problems.


I had posted a similar description of this problem in December and it was
suggested that I set GCAPS2_ALPHACURSOR in the flGraphicsCaps2 flag word.   
I still have the problem even when GCAPS2_ALPHACURSOR is set.

It is not a problem drawing alpha blended cursors, as all cursor sets can be 
drawn with the mirror driver attached. 

It just seems to be a problem switching pointer sets while the mirror driver 
is attached.

What can I do to fix this ?

Do any of you have the mirror driver sample built and might like to try 
switching pointer sets on your Windows XP system?

Thanks in advance,
Jay


Similar Threads:

1.avshws sample and DTM test "Pressure Security Test"

Hi,

I use avshws sample to retrieve frame from usb camera. As all is working 
fine, I'm launching DTM tests on driver.
Problem occurs in "Pressure Security Test" sequence.

it seems that the function defined while using KsAddItemToObjectBag to 
free memory "double" frees memory allocation and thus leads to a crash C2.

What it the "trick" to avoid this with KsAddItemToObjectBag  ?

Best Regards,
Damien

2.Problem regarding test application for testing GPS driver

I want to test a GPS driver for a specific platform in wince 6.0 and
the CE test kit of windows ce 6.0 dowsn't contain test suite for
testing GPS driver...
Is there some application so that i can test GPS driver?
Thank you for your anticipation in advance.

3.Problem on Xp Desktop icons when load Microsoft sample Display Mirror driver

Hi,

I noticed that when I load Microsoft sample Display Mirror driver on a
XP system, the icons on the desktop lose the transparent drop shadow
effect and became opaque showing whatever color you have on the
background screen.
I think that some setting in the gdiinfo and/or devinfo are responsible
for that,

Does anyone knows how to fix it?

Thanks,

Pepana

4.Sample Mirror Driver Excel Problem.

I believe this problem has been around for some years now as I did find
one other posting about it from November, 2002.

When the sample mirror display driver that is included with the DDK is
loaded (i.e. attached to the desktop), Excel displays the following
error when it is started:

"Not enough system resources to display completely."

I strongly suspect this error is a catch-all for several issues and
that the problem here is not necessarily due to the driver's taking
resource but with something the driver is, or is not, doing that Excel
expects/needs.  Note that Excel runs after acknowledging this error
message.  However, it pops up often, for example when simply clicking
on a different worksheet tab.

So I am hoping this problem has been solved/identified by now and I
would greatly appreciate any information anyone might have about it.


Cheers,
Bill Wyatt.
 XXXX@XXXXX.COM 

5.DDK mirror driver sample

I built and installed the mirror driver on a Windows XP (SP2) PC. The app 
exits immediately. The output seems to indicate it is running normally. I am 
not sure what is the expect behavior for this driver and app. Doesn't the app 
shows a windows on the second monitor that mirrors the first monitor? The 
code seems commented out in the sample. Could anyone point me to the 
documentation for mirror driver? Thanks,

6. Original DDK Mirror Driver Sample Bug

7. Installing/Running Mirror Display Driver Sample

8. Microsoft Mirror Sample Driver



Return to device driver

 

Who is online

Users browsing this forum: No registered users and 88 guest