API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWINDOWHISTORY_GETWINIDS()

Brew Release
Brew MP 1.0.2
See Also
IWindowHistory IWindowHistory_GetWinInfo() IWindowHistory_OnChange()
Description
This method retrieves a list of window IDs that match the search criteria.
Params
_pif
[in]:
A pointer to the IWindowHistory object.
criteria
[in]:
A NULL-terminated string representing the search criteria
winIDList
[out]:
If winIDListLen is set to 0, this parameter is ignored. Otherwise, this buffer is filled with as much of the requested window IDs as can fit.
winIDListLen
[in]:
The total size (in bytes) of the winIDList buffer, or 0 to query for required buffer size only.
winIDListLenReq
[out]:
On return, winIDListLenReq is set to the buffer size required to allow the complete winIDList. May also be NULL if the caller doesn't care to know.
Interface
Prototype
  •    AEEResult IWindowHistory_GetWinIDs(IWindowHistory* _pif, const char* criteria, uint32* winIDList, int winIDListLen, int* winIDListLenReq)
    
Return
  • AEE_SUCCESS : On success. AEE_ESCHEMENOTSUPPORTED : The search criteria is unsupported Error code : Otherwise.
Side Effect
  • None
Comments
None