MagGetWindowFilterList function (magnification.h)

Retrieves the list of windows that are magnified or excluded from magnification.

Syntax

int MagGetWindowFilterList(
  [in]  HWND  hwnd,
  [out] DWORD *pdwFilterMode,
  [in]  int   count,
  [out] HWND  *pHWND
);

Parameters

[in] hwnd

Type: HWND

The magnification window.

[out] pdwFilterMode

Type: DWORD*

The filter mode, as set by MagSetWindowFilterList.

[in] count

Type: int

The number of windows to retrieve, or 0 to retrieve a count of windows in the filter list.

[out] pHWND

Type: HWND*

The list of window handles.

Return value

Type: int

Returns the count of window handles in the filter list, or -1 if the hwnd parameter is not valid.

Remarks

First call the method with a count of 0 to retrieve the count of windows in the filter list. Use the retrieved count to allocate sufficient memory for the retrieved list of window handles.

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

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

MagSetWindowFilterList