https://docs.microsoft.com/en-us/windows/win32/wic/-wic-lh
https://docs.microsoft.com/en-us/previous-versions//dd443207...
https://docs.microsoft.com/en-us/windows/win32/shell/customi...
and in macOS,
https://developer.apple.com/library/archive/documentation/Gr...
https://developer.apple.com/library/archive/documentation/Mu...
Although, yes I do concede it is more complex to implement, the way to do it depends on what kind of data type we are talking about, and it only works properly if the applications actually make use of the OS frameworks instead of doing their own thing.
And as expected with the GNU/Linux "desktop", nothing does exist that comes close to it.