Beispiel #1
0
        public IntPtr RegisterFensUserInfo(string brokerId = "", string userId = "", TThostFtdcLoginModeType loginMode = TThostFtdcLoginModeType.THOST_FTDC_LM_Trade)
        {
            CThostFtdcFensUserInfoField struc = new CThostFtdcFensUserInfoField
            {
                BrokerID  = brokerId,
                UserID    = userId,
                LoginMode = loginMode,
            };

            return(((DelegateRegisterFensUserInfo)loader.Invoke("RegisterFensUserInfo", typeof(DelegateRegisterFensUserInfo)))(_api, struc));
        }
Beispiel #2
0
        public IntPtr RegisterFensUserInfo(string BrokerID = "", string UserID = "", TThostFtdcLoginModeType LoginMode = TThostFtdcLoginModeType.THOST_FTDC_LM_Trade)
        {
            CThostFtdcFensUserInfoField struc = new CThostFtdcFensUserInfoField
            {
                BrokerID  = BrokerID,
                UserID    = UserID,
                LoginMode = LoginMode,
            };

            return((Invoke(_handle, "RegisterFensUserInfo", typeof(DeleRegisterFensUserInfo)) as DeleRegisterFensUserInfo)(_api, struc));
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CThostFtdcFensUserInfoField obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public virtual void RegisterFensUserInfo(CThostFtdcFensUserInfoField pFensUserInfo)
 {
     CTPMarketCppWrapperPINVOKE.CThostFtdcMdApi_RegisterFensUserInfo(swigCPtr, CThostFtdcFensUserInfoField.getCPtr(pFensUserInfo));
 }
Beispiel #5
0
 public virtual void RegisterFensUserInfo(CThostFtdcFensUserInfoField pFensUserInfo)
 {
     thostmdapiPINVOKE.CThostFtdcMdApi_RegisterFensUserInfo(swigCPtr, CThostFtdcFensUserInfoField.getCPtr(pFensUserInfo));
 }
Beispiel #6
0
 //ESunny not supported
 public void RegisterFensUserInfo(CThostFtdcFensUserInfoField pFensUserInfo)
 {
 }
Beispiel #7
0
 public void RegisterFensUserInfo(CThostFtdcFensUserInfoField pFensUserInfo)
 {
     _traderApi.RegisterFensUserInfo(pFensUserInfo);
 }