The methods are needed to implement Bluetooth device pairing in `bluetoothapis.dll` without having to create a dummy window for `RegisterDeviceNotification`, as that may break CLI applications.
`CM_Register_Notification` is implemented as a thin wrapper over `I_ScRegisterDeviceNotification`, mapping `DBT_*` flags to their associated `CM_NOTIFY_*` constants.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7559
On Mon Mar 17 04:39:03 2025 +0000, Alexandre Julliard wrote:
> Please let's not reintroduce support for vm86 contexts and pointers.
> If necessary, you can add a separate real-mode handler for that specific
> call. But I'd suggest to first make sure that the app works without any
> actual vm86 support.
Now that simulated hardware interrupts for audio processing have been implemented in commit ff0fbb1ff5f76d1d206aea452907ad2dd29206ea, simulated real mode interrupts are the only thing left that's keeping 16-bit Myst from running. When I wrote this patch, I tried to not include anything more than what Myst requires. Could you please clarify which parts of the patch are not strictly necessary?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5052#note_98044