Yes. 5.1 channel DTS / AC3 only. No 7.1.
It should work without any changes to Windows setup.
In Kodi go into Settings and change the Settings level to 'Advanced' (bottom left of screen). Then go to System - Audio Output. Change 'number of channels' to 5.1. Check the 'Enable passthrough', 'Dolby Digital (AC3) capable receiver' and 'DTS capable receiver' checkboxes.