I have an old application that is built using MFC, and makes use of WinAPI function calls for Ethernet communication. It uses API calls for multithreading, synchronization (mutexes, etc), ReadFile to read overlapped IO, etc.
Is it possible to create a new WPF .Net application and import the existing Ethernet communication source code wirtten using WinAPI, without having to rewrite the code using .Net?