MagSetWindowFilterList function (magnification.h)

Sets the list of windows to be magnified or the list of windows to be excluded from magnification.

Syntax

BOOL MagSetWindowFilterList(
  [in] HWND  hwnd,
  [in] DWORD dwFilterMode,
  [in] int   count,
  [in] HWND  *pHWND
);

Parameters

[in] hwnd

Type: HWND

The handle of the magnification window.

[in] dwFilterMode

Type: DWORD

The magnification filter mode. It can be one of the following values:

Value Meaning
MW_FILTERMODE_INCLUDE Magnify the windows.
Note:  This value is not supported on Windows 7 or newer.
 
MW_FILTERMODE_EXCLUDE Exclude the windows from magnification.

[in] count

Type: int

The number of window handles in the list.

[in] pHWND

Type: HWND*

The list of window handles.

Return value

Type: BOOL

Returns TRUE if successful, or FALSE otherwise.

Remarks

This function requires Windows Display Driver Model (WDDM)-capable video cards.

Only one window list is used. You can specify either MW_FILTERMODE_INCLUDE or MW_FILTERMODE_EXCLUDE, depending on whether it is more convenient to list included windows or excluded windows.

The magnification window itself is automatically excluded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header magnification.h
Library Magnification.lib
DLL Magnification.dll

See also

MagGetWindowFilterList