Functions

This section contains reference information about the Magnification API functions.

In this section

Topic Description
[MagGetColorEffect](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetcoloreffect)
Gets the color transformation matrix for a magnifier control.
[MagGetFullscreenColorEffect](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetfullscreencoloreffect)
Retrieves the color transformation matrix associated with the full-screen magnifier.
[MagGetFullscreenTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetfullscreentransform)
Retrieves the magnification settings for the full-screen magnifier.
[MagGetImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetimagescalingcallback)
[!Note]
The [MagGetImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetimagescalingcallback) function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.


Retrieves the registered callback function that implements a custom transform for image scaling.
[MagGetInputTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetinputtransform)
Retrieves the current input transformation for pen and touch input, represented as a source rectangle and a destination rectangle.
[MagGetWindowFilterList](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetwindowfilterlist)
Retrieves the list of windows that are magnified or excluded from magnification.
[MagGetWindowSource](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetwindowsource)
Gets the rectangle of the area that is being magnified.
[MagGetWindowTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maggetwindowtransform)
Retrieves the transformation matrix associated with a magnifier control.
[MagImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nc-magnification-magimagescalingcallback)
[!Note]
The [MagImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nc-magnification-magimagescalingcallback) function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.

Prototype for a callback function that implements a custom transform for image scaling.
[MagInitialize](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maginitialize)
Creates and initializes the magnifier run-time objects.
[MagSetColorEffect](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetcoloreffect)
Sets the color transformation matrix for a magnifier control.
[MagSetFullscreenColorEffect](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetfullscreencoloreffect)
Changes the color transformation matrix associated with the full-screen magnifier.
[MagSetFullscreenTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetfullscreentransform)
Changes the magnification settings for the full-screen magnifier.
[MagSetImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetimagescalingcallback)
[!Note]
The [MagSetImageScalingCallback](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetimagescalingcallback) function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.


Sets the callback function for external image filtering and scaling.
[MagSetInputTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetinputtransform)
Sets the current active input transformation for pen and touch input, represented as a source rectangle and a destination rectangle.
[MagSetWindowFilterList](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetwindowfilterlist)
Sets the list of windows to be magnified or the list of windows to be excluded from magnification.
[MagSetWindowSource](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetwindowsource)
Sets the source rectangle for the magnification window.
[MagSetWindowTransform](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magsetwindowtransform)
Sets the transformation matrix for a magnifier control.
[MagShowSystemCursor](/previous-versions/windows/desktop/api/Magnification/nf-magnification-magshowsystemcursor)
Shows or hides the system cursor.
[MagUninitialize](/previous-versions/windows/desktop/api/Magnification/nf-magnification-maguninitialize)
Destroys the magnifier run-time objects.

Reference