Questions tagged [magnification-api]

Magnification API is a library to support writing screen magnification applications on Windows.

Magnification API is a library to support writing screen magnification applications for Windows.

References

22 questions
10
votes
1 answer

AccessViolationException is thrown using WinAPI in Windows 8 Pro Tablet

I am trying to write an accesibility app for 32bit Windows 8 Pro tablet PC using Magnification API. App can perfectly zoom-in and zoom-out full screen, but when zoomed in, the click events are sent to wrong places of the unmagnified screen, so user…
Alpay
  • 1,350
  • 2
  • 24
  • 56
6
votes
1 answer

Issues with Magnification API

I am having issues with the Magnification API provided my Microsoft. This is an API that is written in C++ so to use it with C# you must use a series of .dll imports as described in this question. My issue came after I had the magnification…
tentmaking
  • 2,076
  • 4
  • 30
  • 53
4
votes
1 answer

vista/win7 magnification API in .NET

There is magnification.lib in the Win7/Vista SDK for using Magnification API for C++. How can I use this API in a .NET windows forms project?
vladimir
  • 43
  • 4
2
votes
1 answer

Why MagSetImageScalingCallback function fails when is executed in new desktop?

I'm trying get a screenshot of a new desktop created (CreateDesktop api + executing explorer.exe to new desktop) using Magnification api like showed in this tutorial. I ported with success the C++ code from tutorial to Delphi and both examples (C++…
user9672569
2
votes
1 answer

jna Pointer in 32 bit JRE

I am using jna to call Magnification api functions in Java. MagImageScalingCallback.java package jna.extra; import com.sun.jna.Callback; import com.sun.jna.Pointer; import com.sun.jna.platform.win32.WinDef.HRGN; import…
Vishnu
  • 11,614
  • 6
  • 51
  • 90
2
votes
1 answer

Drawing over magnifier window (Magnification API)

I′m creating an app by using windows magnification API and need to draw over there, but have no idea HOW. I was try to draw on DC, but it not work.
1
vote
0 answers

C# Magnification API Fullscreen Handle

When magnification API is initialized and the "MagSetFullscreenColorEffect" method is called, the screen automatically changes colors to match whatever array you called. This requires relatively little code: InitializeComponent(); if…
1
vote
0 answers

Magnification API: flickering during repaint

I created an application by slightly modifying the Magnification API sample provided by Microsoft to implement a custom transformation of each frame captured and displayed in the Magnifier window. I used the MagSetImageScalingCallback to set the my…
Bemipefe
  • 1,397
  • 4
  • 17
  • 30
1
vote
0 answers

Screen capturing based on Windows Magnification API fails on Windows 7 64 bit With Aero theme disabled

I'm trying to capture the desktop screen using Windows Magnification APIs based on code sample given in https://www.codeproject.com/Articles/607288/Screenshot-using-the-Magnification-library?msg=5570528#xx5570528xx. The program (32bit executable)…
iamrameshkumar
  • 1,328
  • 1
  • 14
  • 34
1
vote
1 answer

Magnification api: screenshot with disproportional dimension to real size

I have this following code that is working fine to screen capture without main form based in this example. My trouble is that result screenshot is cut on right side and extended on left side for example testing this code to capture whole desktop…
user9672569
1
vote
2 answers

Why is my capture window code not working?

I am newbie to winapi. I have seen an example to capture desktop excluding some windows at codeproject There a child window is created and it is captured. hwndMag = CreateWindow(WC_MAGNIFIER, TEXT("MagnifierWindow"), WS_CHILD |…
Vishnu
  • 11,614
  • 6
  • 51
  • 90
0
votes
0 answers

Can I achieve gamma correction through desktop overlay (Magnification API)?

I'm trying to create a program in C# that reproduces the functionality of the Nvidia Control Panel, particularly one that adjusts brightness, contrast and gamma per RGB channel for the whole desktop (not just a single image) but without relying on…
DeadAirCK
  • 1
  • 1
0
votes
2 answers

Use Magnification API to capture sub screen failed on Windows10

Magnification API can work well when used to capture primary screen, but when i use it to capture sub screen,after MagSetWindowSource() called, MagSetImageScalingCallback() not triggerd. I checked the window position is set correctly, in my computer…
Grey
  • 5
  • 3
0
votes
1 answer

Grab screen pixel data "behind" the Windows 10 magnifier tool

I was wondering if it would be possible to capture the whole view of the screen while the windows magnifier tool is running in fullscreen mode. Essentially, what I am looking for is while I'm looking with my eyes at a certain point on the screen,…
Reynevan
  • 1,475
  • 1
  • 18
  • 35
0
votes
2 answers

Windows Forms Force everything half screen and put my form on top

I know how to put my Form on top, but I'm striving for a more specific behavior: I want my window to be on top of the screen, forcing all other windows half screen. To illustrate what I want, open the Windows Magnifier tool and dock it to the top of…
Dyte
  • 259
  • 3
  • 13
1
2