home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / ProdInfo.idl < prev    next >
Text File  |  1997-11-01  |  895b  |  44 lines

  1. // ProdInfo.idl : IDL source for ProdInfo.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (ProdInfo.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.  
  10. [
  11.     object,
  12.     uuid(735D4AAE-03A3-11D1-858A-0080C7E28895),
  13.     dual,
  14.     helpstring("IProdLookUp Interface"),
  15.     pointer_default(unique)
  16. ]
  17.  
  18. interface IProdLookUp : IDispatch
  19. {
  20.     [id(1), helpstring("Returns information about a product")] 
  21.     HRESULT Details([in]UINT iType, [in]BSTR *pszDesc, [out,retval]BSTR *pszItem);
  22. };
  23.  
  24. [
  25.     uuid(735D4AA1-03A3-11D1-858A-0080C7E28895),
  26.     version(1.0),
  27.     helpstring("ProdInfo 1.0 Type Library")
  28. ]
  29.  
  30. library PRODINFOLib
  31. {
  32.     importlib("stdole32.tlb");
  33.     importlib("stdole2.tlb");
  34.  
  35.     [
  36.         uuid(735D4AAF-03A3-11D1-858A-0080C7E28895),
  37.         helpstring("ProdLookUp Class")
  38.     ]
  39.     coclass ProdLookUp
  40.     {
  41.         [default] interface IProdLookUp;
  42.     };
  43. };
  44.