Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.8 KiB

  1. // Machine generated IDispatch wrapper class(es) created with ClassWizard
  2. #include "stdafx.h"
  3. #include "hmtabview.h"
  4. #ifdef _DEBUG
  5. #define new DEBUG_NEW
  6. #undef THIS_FILE
  7. static char THIS_FILE[] = __FILE__;
  8. #endif
  9. /////////////////////////////////////////////////////////////////////////////
  10. // _DHMTabView properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // _DHMTabView operations
  13. BOOL _DHMTabView::InsertItem(long lMask, long lItem, LPCTSTR lpszItem, long lImage, long lParam)
  14. {
  15. BOOL result;
  16. static BYTE parms[] =
  17. VTS_I4 VTS_I4 VTS_BSTR VTS_I4 VTS_I4;
  18. InvokeHelper(0x1, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  19. lMask, lItem, lpszItem, lImage, lParam);
  20. return result;
  21. }
  22. BOOL _DHMTabView::DeleteItem(long lItem)
  23. {
  24. BOOL result;
  25. static BYTE parms[] =
  26. VTS_I4;
  27. InvokeHelper(0x2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  28. lItem);
  29. return result;
  30. }
  31. BOOL _DHMTabView::DeleteAllItems()
  32. {
  33. BOOL result;
  34. InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
  35. return result;
  36. }
  37. BOOL _DHMTabView::CreateControl(long lItem, LPCTSTR lpszControlID)
  38. {
  39. BOOL result;
  40. static BYTE parms[] =
  41. VTS_I4 VTS_BSTR;
  42. InvokeHelper(0x4, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  43. lItem, lpszControlID);
  44. return result;
  45. }
  46. LPUNKNOWN _DHMTabView::GetControl(long lItem)
  47. {
  48. LPUNKNOWN result;
  49. static BYTE parms[] =
  50. VTS_I4;
  51. InvokeHelper(0x5, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, parms,
  52. lItem);
  53. return result;
  54. }
  55. void _DHMTabView::AboutBox()
  56. {
  57. InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  58. }
  59. /////////////////////////////////////////////////////////////////////////////
  60. // _DHMTabViewEvents properties
  61. /////////////////////////////////////////////////////////////////////////////
  62. // _DHMTabViewEvents operations