From Tracker Software PDF SDK
The method is called when the search operation finishes it's work.
HRESULT OnFinish([in] LONG nResCode);
- [in] Value of LONG containing the HRESULT of the operation work. If the operation work was successful the S_OK will be passed here.
Returns S_OK if operation was successful or error code in other cases.