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

Developer

API Reference

IBTSERVICEDISCOVERY_GETSEARCHRESULT()

Brew Release
Brew MP 1.0.2
See Also
IBTServiceDiscovery_StartServiceSearch
Description
Retrieve the result from the most recent call to IBTServiceDiscovery_StartServiceSearch(). This API should be called when application received SVC_SEARCH_COMPLETE.
Params
po
[in]:
the object
pszResultXML
[out]:
destination for the search result
nSize
[in]:
size of buffer pointed to by pszResultXML
pnRequiredSize
[out]:
destination for the required size
Prototype
  •    int IBTServiceDiscovery_GetSearchResult (IBTServiceDiscovery* po,
                                                char*                pszResultXML,
                                                int                  nSize,
                                                int*                 pnRequiredSize);
    
Return
  • AEE_SUCCESS : search result successfully retrieved AEE_EBADPARM : input parameters are invalid AEE_EBUFFERTOOSMALL : destination buffer is too small for all data; partial result not returned AEE_EBADSTATE : service search never started
Side Effect
  • None
Comments
None