As we all know Google announced to remove NPAPI from Chrome on September 2015:
http://www.chromium.org/developers/npapi-deprecation
I have a plugin developed with NPAPI, which allows users to scan using WIA and TWAIN. I also use there WinApi do "draw" controls inside browser. Short research showed that alternatives like Native Client/Pepper and so on, do not allow direct access to WinApi.
As I understand the only alternative is to create separate application(e.g Windows Service) to call WinApi throw it, and use WebSockets for communication between Browser and Service. I also should replace HWND with HTML5 canvas drawing.
Please tell me, are there any other solutions for this situation ?