MagSetWindowFilterList function

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

Syntax


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

Parameters

hwnd [in]

Type: HWND

The handle of the magnification window.

dwFilterMode [in]

Type: DWORD

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

ValueMeaning
MW_FILTERMODE_INCLUDEMagnify the windows.

Note  This value is not supported on Windows 7 or Windows 8.

MW_FILTERMODE_EXCLUDEExclude the windows from magnification.

 

count [in]

Type: int

The number of window handles in the list.

pHWND [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Magnification.h

Library

Magnification.lib

DLL

Magnification.dll

See also

MagGetWindowFilterList

 

 

Community Additions

ADD
Show:
© 2014 Microsoft