Apple Magic Keyboard on Windows 10 not a Bootcamp!
Have you looked at this: https://github.com/gered/AppleWirelessKeyboard/releases the project has been abandoned but it might work.

This might also work... https://uxsoft.cz/Projects/AppleWirelessKeyboard