MagGetWindowFilterList function

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

Syntax


int WINAPI MagGetWindowFilterList(
  _In_  HWND  hwnd,
  _Out_ DWORD *pdwFilterMode,
  _In_  int   count,
  _Out_ HWND  *pHWND
);

Parameters

hwnd [in]

Type: HWND

The magnification window.

pdwFilterMode [out]

Type: DWORD*

The filter mode, as set by MagSetWindowFilterList.

count [in]

Type: int

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

pHWND [out]

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

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

MagSetWindowFilterList

 

 

Show: