home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Shareware / Programare / skincraft / SkinCrafter_v1.4.12_Demo.msi / _49E29CB9A65AABBF653C1037E1AA74B6 / _E5583EBD464F4BB7AED6B63CD31B3A95 < prev    next >
Encoding:
Text File  |  2004-02-17  |  2.2 KB  |  83 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "wmpplaylistcollection.h"
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. #include "wmpplaylist.h"
  12. #include "WMPPlaylistArray.h"
  13.  
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CWMPPlaylistCollection properties
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CWMPPlaylistCollection operations
  20.  
  21. CWMPPlaylist CWMPPlaylistCollection::newPlaylist(LPCTSTR bstrName)
  22. {
  23.     LPDISPATCH pDispatch;
  24.     static BYTE parms[] =
  25.         VTS_BSTR;
  26.     InvokeHelper(0x228, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
  27.         bstrName);
  28.     return CWMPPlaylist(pDispatch);
  29. }
  30.  
  31. CWMPPlaylistArray CWMPPlaylistCollection::getAll()
  32. {
  33.     LPDISPATCH pDispatch;
  34.     InvokeHelper(0x229, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
  35.     return CWMPPlaylistArray(pDispatch);
  36. }
  37.  
  38. CWMPPlaylistArray CWMPPlaylistCollection::getByName(LPCTSTR bstrName)
  39. {
  40.     LPDISPATCH pDispatch;
  41.     static BYTE parms[] =
  42.         VTS_BSTR;
  43.     InvokeHelper(0x22a, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
  44.         bstrName);
  45.     return CWMPPlaylistArray(pDispatch);
  46. }
  47.  
  48. void CWMPPlaylistCollection::remove(LPDISPATCH pItem)
  49. {
  50.     static BYTE parms[] =
  51.         VTS_DISPATCH;
  52.     InvokeHelper(0x22c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  53.          pItem);
  54. }
  55.  
  56. void CWMPPlaylistCollection::setDeleted(LPDISPATCH pItem, BOOL varfIsDeleted)
  57. {
  58.     static BYTE parms[] =
  59.         VTS_DISPATCH VTS_BOOL;
  60.     InvokeHelper(0x230, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  61.          pItem, varfIsDeleted);
  62. }
  63.  
  64. BOOL CWMPPlaylistCollection::isDeleted(LPDISPATCH pItem)
  65. {
  66.     BOOL result;
  67.     static BYTE parms[] =
  68.         VTS_DISPATCH;
  69.     InvokeHelper(0x231, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  70.         pItem);
  71.     return result;
  72. }
  73.  
  74. CWMPPlaylist CWMPPlaylistCollection::importPlaylist(LPDISPATCH pItem)
  75. {
  76.     LPDISPATCH pDispatch;
  77.     static BYTE parms[] =
  78.         VTS_DISPATCH;
  79.     InvokeHelper(0x232, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
  80.         pItem);
  81.     return CWMPPlaylist(pDispatch);
  82. }
  83.