public void EndGetDevice(IntPtr aAsyncHandle, out String aUniqueDeviceName) { uint code; string desc; if (Invocation.Error(aAsyncHandle, out code, out desc)) { throw new ProxyError(code, desc); } uint index = 0; aUniqueDeviceName = Invocation.OutputString(aAsyncHandle, index++); }
protected override void CompleteRequest(IntPtr aAsyncHandle) { iService.EndGetDevice(aAsyncHandle, out iUniqueDeviceName); }