home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Shareware / Programare / skincraft / SkinCrafter_v1.4.12_Demo.msi / _49E29CB9A65AABBF653C1037E1AA74B6 / _3A32583302DC48B4AD6AC7E0DF4D1442 < prev    next >
Encoding:
Text File  |  2004-02-17  |  1.2 KB  |  46 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 "wmpcdromcollection.h"
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. #include "WMPCdrom.h"
  12.  
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CWMPCdromCollection properties
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CWMPCdromCollection operations
  19.  
  20. long CWMPCdromCollection::GetCount()
  21. {
  22.     long result;
  23.     InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  24.     return result;
  25. }
  26.  
  27. CWMPCdrom CWMPCdromCollection::Item(long lIndex)
  28. {
  29.     LPDISPATCH pDispatch;
  30.     static BYTE parms[] =
  31.         VTS_I4;
  32.     InvokeHelper(0x12e, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
  33.         lIndex);
  34.     return CWMPCdrom(pDispatch);
  35. }
  36.  
  37. CWMPCdrom CWMPCdromCollection::getByDriveSpecifier(LPCTSTR bstrDriveSpecifier)
  38. {
  39.     LPDISPATCH pDispatch;
  40.     static BYTE parms[] =
  41.         VTS_BSTR;
  42.     InvokeHelper(0x12f, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
  43.         bstrDriveSpecifier);
  44.     return CWMPCdrom(pDispatch);
  45. }
  46.