public void EndGetInt(IntPtr aAsyncHandle, out int aValueInt) { uint code; string desc; if (Invocation.Error(aAsyncHandle, out code, out desc)) { throw new ProxyError(code, desc); } uint index = 0; aValueInt = Invocation.OutputInt(aAsyncHandle, index++); }