I need to replace all WinAPI calls of the
- CreateFile,
- ReadFile,
- SetFilePointer,
- CloseHandle
with my own implementation (which use low-level file reading via Bluetooth). The code, where functions will be replaced, is Video File Player and it already works with the regular hdd files. It is also needed, that Video Player still can play files from HDD, if the file in the VideoPlayer input is a regular hdd file.
What is the best practice for such task?