GetAltTabInfo function user32

int GetAltTabInfo(
  1. int hwnd,
  2. int iItem,
  3. Pointer<ALTTABINFO> pati,
  4. Pointer<Utf16> pszItemText,
  5. int cchItemText,
)

Retrieves status information for the specified window if it is the application-switching (ALT+TAB) window.

BOOL GetAltTabInfoW(
  [in, optional]  HWND        hwnd,
  [in]            int         iItem,
  [in, out]       PALTTABINFO pati,
  [out, optional] LPWSTR      pszItemText,
  [in]            UINT        cchItemText
);

Implementation

int GetAltTabInfo(int hwnd, int iItem, Pointer<ALTTABINFO> pati,
        Pointer<Utf16> pszItemText, int cchItemText) =>
    _GetAltTabInfo(hwnd, iItem, pati, pszItemText, cchItemText);