MagSetWindowFilterList function

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

Syntax

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

Parameters

hwnd

Type: HWND

The handle of the magnification window.

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 Windows 8.
 
MW_FILTERMODE_EXCLUDE Exclude the windows from magnification.

count

Type: int

The number of window handles in the list.

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

   
Windows version Windows Vista [desktop apps only] Windows Server 2008 [desktop apps only]
Target Platform Windows
Header magnification.h
Library Magnification.lib
DLL Magnification.dll

See Also

MagGetWindowFilterList