MagGetFullscreenColorEffect function (magnification.h)
Retrieves the color transformation matrix associated with the full-screen magnifier.
Syntax
BOOL MagGetFullscreenColorEffect(
[out] PMAGCOLOREFFECT pEffect
);
Parameters
[out] pEffect
Type: PMAGCOLOREFFECT
The color transformation matrix, or the identity matrix if no color effect has been set.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Remarks
The full-screen magnifier uses the color transformation matrix to apply a color effect to the entire screen.
Examples
The following example retrieves the color transformation matrix associated with the full-screen magnifier.
// Get the current color effect.
MAGCOLOREFFECT magEffect;
if (!MagGetFullscreenColorEffect(&magEffect))
return E_FAIL;
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | magnification.h |
Library | Magnification.lib |
DLL | Magnification.dll |