public uint EcDoAsyncConnectEx(IntPtr pcxh, ref IntPtr pacxh) { uint retValue = 0; try { retValue = NativeMethods.EcDoAsyncConnectEx(pcxh, ref pacxh); this.VerifyEcDoAsyncConnectEx(retValue, pacxh); } catch (SEHException e) { retValue = NativeMethods.RpcExceptionCode(e); } return retValue; }