I use COM API RSearch objects to get the tickers.
On RSearchQuery update I receive an object of RSearchLib::IRSearchResponse * pIRSearchResponse.
Then I do
l_hr = pIRSearchResponse->get_Status(&l_RSearchQueryStatus);
When everything is fine I get S_OK.
But I get 0x80040223 when there is no results for given search criteria. This is actually not an error, so I need to differentiate it from other errors.
Is there a list of possible status codes/errors?