PureBasic Forum

Magnification API
Page 1 of 1

Author:  BarryG [ Tue May 19, 2020 12:44 pm ]
Post subject:  Magnification API

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/previous-versions/windows/desktop/magapi/magapi-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.

Author:  JHPJHP [ Fri May 29, 2020 5:58 am ]
Post subject:  Magnification API

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.

Author:  BarryG [ Fri May 29, 2020 11:52 am ]
Post subject:  Re: Magnification API

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

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group