TheInterface.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __THE_LYFZ_CLOUD_INTERFACE_20160612__
  2. #define __THE_LYFZ_CLOUD_INTERFACE_20160612__
  3. // {F68976F0-CD31-4b89-B8BD-433977F84C48}
  4. static const GUID IID_TheInterface = { 0xf68976f0, 0xcd31, 0x4b89, { 0xb8, 0xbd, 0x43, 0x39, 0x77, 0xf8, 0x4c, 0x48 } };
  5. interface ICloudSelection:public IUnknown
  6. {
  7. virtual void SetEnvInfoEx(
  8. IN LPCTSTR lpHostName, // 本店主机名;
  9. IN LPCTSTR lpBranchId, // 本店域名;
  10. IN LPVOID lpTblVerion, // 本店version表;
  11. IN LPVOID lpBranchInfo, // branchinfo.dat内容;
  12. IN LPVOID lpNetShareInfo // 本店NetShareInfo表;
  13. ) = 0;
  14. // 上传订单信息,使用掩码+域名(锁短ID)+订单号+景点名生成唯一标识;
  15. virtual BOOL IUploadOrderInfo(
  16. IN UINT8 nActionType, // 操作类型,如在线选片、在线选设计;
  17. IN LPCTSTR lpMaskId, // 掩码,一般用于区分版本或其他;
  18. IN LPCTSTR lpBranchId, // 影楼域名;
  19. IN LPCTSTR lpBranchName, // 影楼名称;
  20. IN LPCTSTR lpBranchTel, // 影楼电话;
  21. IN LPCTSTR lpOrderNum, // 订单号;
  22. IN LPCTSTR lpScenery, // 景点或套系名;
  23. IN LPCTSTR lpCustomerName, // 顾客姓名;
  24. IN LPCTSTR lpCustomerTel, // 顾客电话;
  25. IN CArray<CStringArray,CStringArray> &AryGoodsInfo, // 商品信息;
  26. IN OUT LPTSTR lpReturnString, // 返回选片网址(若已存在数据库中,则传递进来);
  27. IN const INT& nMaxLen
  28. ) = 0;
  29. };
  30. #endif //__THE_LYFZ_CLOUD_INTERFACE_20160612__