MagGetFullscreenColorEffect function

Retrieves the color transformation matrix associated with the full-screen magnifier.

Syntax


BOOL WINAPI MagGetFullscreenColorEffect(
  _Out_  PMAGCOLOREFFECT pEffect
);

Parameters

pEffect [out]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Magnification.h

Library

Magnification.lib

DLL

Magnification.dll

See also

MagSetFullscreenColorEffect

 

 

Community Additions

ADD
Show:
© 2014 Microsoft