Packets.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. Packet convertor functions.
  7. */
  8. #if !defined( __STKLIB_PACKETS_H__ )
  9. #define __STKLIB_PACKETS_H__
  10. STKLIB_API PCOMMPACKET AllocCommPacket( DWORD dwDataType, DWORD dwCount );
  11. STKLIB_API void FreeCommPacket( PCOMMPACKET pCommPacket );
  12. STKLIB_API BOOL convert_REPORT_to_MINUTE( REPORT * pReport, MINUTE * pMinute );
  13. STKLIB_API BOOL UpdateKDATAByREPORT( KDATA &kd, REPORT * pReport );
  14. STKLIB_API BOOL UpdateStockInfoByREPORT( CStockInfo & info, REPORT * pReport );
  15. STKLIB_API BOOL UpdateStockContainerByREPORT( CStockContainer &container, REPORT * pReport, BOOL bAddIfNotExist, REPORT * pReportLast = NULL );
  16. STKLIB_API BOOL UpdateStockContainerByKData( CStockContainer &container, LPCTSTR lpszCode, CKData & kdata );
  17. #endif // __STKLIB_PACKETS_H__