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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for