Magnification API

Windows specific forum
BarryG
Addict
Addict
Posts: 1439
Joined: Thu Apr 18, 2019 8:17 am

Magnification API

Post by BarryG »

Has anyone played with the Windows Magnification API at all? No hits in these forums when I search for it. See here -> https://docs.microsoft.com/en-us/previo ... gapi-intro

Would love an API guru to maybe give a small PureBasic example, if they have time. There's some example C code in that link but it's way over my head. I note that it requires 64-bit Windows, too.
User avatar
JHPJHP
Addict
Addict
Posts: 1752
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Magnification API

Post by JHPJHP »

Hi BarryG,

I’ve added a new example to my Windows Services & Other Stuff:
- \Other_Stuff\OtherStuff\WindowsMagnificationAPI.pb

I’ve kept the example original to help with future conversions; should be simple enough to replace some of the Windows functions with PureBasic-isms.

Example converted from MagnifierSample.cpp.

NB*: Included additional filters for grayscale and sepia.
Last edited by JHPJHP on Sun May 31, 2020 4:44 am, edited 1 time in total.
STATUS: Unavailable :: Downloads moved to My PureBasic Stuff; access key required.
_________________
BarryG
Addict
Addict
Posts: 1439
Joined: Thu Apr 18, 2019 8:17 am

Re: Magnification API

Post by BarryG »

Thank you, it works perfectly! You've got a lot of good code at your site. Thanks for your contributions.
Post Reply