in my application i want to scan the image through scanner in uwp application. so i am refere the scan code which is done using wpf with twain dll. so i am trying to use the same code in uwp. but it not applicable.
problem is when i am trying to use WinFormsWindowMessageHook it gives error cant convert uwp to winform.
using windows.winform;
using TwainDotNet;
var dd = new Twain(new WinFormsWindowMessageHook(this));