- What does your GetLastError()
return?
- Im sure you saw the
Zitat:
The MagSetImageScalingCallback function is deprecated in Windows 7 and later, and should not be used in new applications.
- Your example is missing your CreateDesktop
shenanigans. As far as I recall, additional desktops are very limited. Example: They cannot have Aero features (and probably other DWM stuff).
GetLastError() returns
50 -
ERROR_NOT_SUPPORTED -
The request is not supported.
Really, this about DWM is true. And even that
MagSetImageScalingCallback work, but
MagSetWindowSource will fail because this
api only works with Aero Theme enabled.