public void EndSearch(IntPtr aAsyncHandle, out String aResult, out uint aNumberReturned, out uint aTotalMatches, out uint aUpdateID)
{
uint code;
string desc;
if (Invocation.Error(aAsyncHandle, out code, out desc))
{
throw new ProxyError(code, desc);
}
uint index = 0;
aResult = Invocation.OutputString(aAsyncHandle, index++);
aNumberReturned = Invocation.OutputUint(aAsyncHandle, index++);
aTotalMatches = Invocation.OutputUint(aAsyncHandle, index++);
aUpdateID = Invocation.OutputUint(aAsyncHandle, index++);
}