Tongshi.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:1k
源码类别:

金融证券系统

开发平台:

Visual C++

  1. /*
  2. Cross Platform Core Code.
  3. Copyright(R) 2001-2002 Balang Software.
  4. All rights reserved.
  5. Using:
  6. Tongshi interface convertor functions.
  7. */
  8. #if !defined( __SP_TONGSHI_H__ )
  9. #define __SP_TONGSHI_H__
  10. DWORD TSMarket_to_Market( WORD wMarket );
  11. WORD Market_to_TSMarket( DWORD dwMarket );
  12. int DataType_to_TSDataType( int nDataType );
  13. BOOL convert_TSREPORT_to_REPORT( RCV_REPORT_STRUCTEx *pTSReport, REPORT * pReport );
  14. BOOL convert_TSHISTORY_to_KDATA( DWORD dwMarket, LPCTSTR lspzCode, RCV_HISTORY_STRUCTEx * pHistory, KDATA * pkd );
  15. BOOL convert_TSMINUTE_to_MINUTE( DWORD dwMarket, LPCTSTR lspzCode, RCV_MINUTE_STRUCTEx * pTSMinute, MINUTE * pMinute );
  16. BOOL convert_TSMULTISORT_to_MULTISORT( RCV_MULTISORT_STRUCTEx * pTSMultisort, MULTISORT * pMultisort );
  17. BOOL convert_TSPOWER_to_DRDATA( DWORD dwMarket, LPCTSTR lspzCode, RCV_POWER_STRUCTEx * pTSPower, DRDATA * pdr );
  18. #endif // __SP_TONGSHI_H__