home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / catlsmpl.idl < prev    next >
Text File  |  1997-10-25  |  1KB  |  50 lines

  1. // CATLSmpl.idl : IDL source for CATLSmpl.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (CATLSmpl.tlb) and marshalling code.
  6.  
  7.     [
  8.         object,
  9.         uuid(61CECB2B-68D3-11D0-8AE3-00C0F00AE35A),
  10.         dual,
  11.         helpstring("ISimple Interface"),
  12.         pointer_default(unique),
  13.         oleautomation
  14.     ]
  15.     interface ISimple : IDispatch
  16.     {
  17.         import "oaidl.idl";
  18.  
  19.         [propget, id(1), helpstring("Get MyProperty's value")]
  20.         HRESULT myProperty([out,retval] BSTR* pbstrOutValue);
  21.  
  22.         [propput, id(1), helpstring("Set MyProperty's value")]
  23.         HRESULT myProperty([in] BSTR bstrInValue); 
  24.  
  25.         [id(2), helpstring("Convert argument to uppercase")]
  26.         HRESULT myMethod([in] BSTR bstrIn, [out, retval] BSTR* pbstrOut);
  27.     };
  28.  
  29.  
  30.  
  31. [
  32.     uuid(61CECB29-68D3-11D0-8AE3-00C0F00AE35A),
  33.     version(1.0),
  34.     helpstring("IISSample CATLSmpl Object Library")
  35. ]
  36. library CATLSmpl
  37. {
  38.     importlib("stdole32.tlb");
  39.  
  40.     [
  41.         uuid(61CECB2F-68D3-11D0-8AE3-00C0F00AE35A),
  42.         helpstring("Simple Class")
  43.     ]
  44.     coclass CSimple
  45.     {
  46.         [default] interface ISimple;
  47.     };
  48.  
  49. };
  50.