hoursselector.cpp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "hoursselector.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CHoursSelector
  8. IMPLEMENT_DYNCREATE(CHoursSelector, CWnd)
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CHoursSelector properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CHoursSelector operations
  13. VARIANT CHoursSelector::GetHoursArray()
  14. {
  15. VARIANT result;
  16. InvokeHelper(0x1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
  17. return result;
  18. }
  19. BOOL CHoursSelector::SetHoursArray(const VARIANT& Array)
  20. {
  21. BOOL result;
  22. static BYTE parms[] =
  23. VTS_VARIANT;
  24. InvokeHelper(0x2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  25. &Array);
  26. return result;
  27. }
  28. BOOL CHoursSelector::WriteDataBase()
  29. {
  30. BOOL result;
  31. InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
  32. return result;
  33. }
  34. void CHoursSelector::SetDBInfo(LPCTSTR pDataSource, LPCTSTR pDBName, LPCTSTR pUserID, LPCTSTR pPassword)
  35. {
  36. static BYTE parms[] =
  37. VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR;
  38. InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  39. pDataSource,pDBName,pUserID,pPassword);
  40. }
  41. void CHoursSelector::SetDvsInfo(LONG PCIP, LONG WndID, LONG DvsIP, LONG VideoChannelID )
  42. {
  43. static BYTE parms[] =
  44. VTS_I4 VTS_I4 VTS_I4 VTS_I4;
  45. InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  46. PCIP,WndID,DvsIP,VideoChannelID);
  47. }
  48. void CHoursSelector::GetDetectDate(LONG PCIP, LONG WndID, LONG DvsIP, LONG VideoChannelID )
  49. {
  50. static BYTE parms[] =
  51. VTS_I4 VTS_I4 VTS_I4 VTS_I4;
  52. InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  53. PCIP,WndID,DvsIP,VideoChannelID);
  54. }