public void EndToggle(IntPtr aAsyncHandle, out bool aResult) { uint code; string desc; if (Invocation.Error(aAsyncHandle, out code, out desc)) { throw new ProxyError(code, desc); } uint index = 0; aResult = Invocation.OutputBool(aAsyncHandle, index++); }