Exemplo n.º 1
0
 public static extern int TdReqQryInvestor(IntPtr pApi, ThostFtdcQryInvestorField pQryInvestor, int nRequestID);
Exemplo n.º 2
0
 /// <summary>
 ///请求查询投资者
 /// </summary>
 public int ReqQryInvestor(ThostFtdcQryInvestorField pQryInvestor, int nRequestID)
 {
     return(Interop.TdReqQryInvestor(Handle, pQryInvestor, nRequestID));
 }
Exemplo n.º 3
0
        /// <summary>
        /// 请求查询投资者
        /// </summary>
        void ReqQryInvestor()
        {
            ThostFtdcQryInvestorField req = new ThostFtdcQryInvestorField();
            req.BrokerID = BROKER_ID;
            req.InvestorID = INVESTOR_ID;

            int iResult = api.ReqQryInvestor(req, ++iRequestID);
            Console.WriteLine("--->>> 请求查询投资者: " + ((iResult == 0) ? "成功" : "失败"));
        }