home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 October / Chip_2002-10_cd1.bin / zkuste / vbasic / Data / Utils / WMP71SDK.exe / WMEffect.awx / TEMPLATE / SAMPLE.IDL < prev    next >
Encoding:
Text File  |  2001-10-01  |  928 b   |  41 lines

  1. // i$$root$$.idl : IDL source for $$root$$.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (i$$root$$.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.     [
  10.         object,
  11.         uuid($$INTERFACEID$$),
  12.         dual,
  13.         helpstring("I$$Safe_root$$ Interface"),
  14.         pointer_default(unique)
  15.     ]
  16.     interface I$$Safe_root$$ : IDispatch
  17.     {
  18.         [propget, id(1), helpstring("property foregroundColor")] HRESULT foregroundColor([out, retval] BSTR *pVal);
  19.         [propput, id(1), helpstring("property foregroundColor")] HRESULT foregroundColor([in] BSTR newVal);
  20.     };
  21.  
  22. [
  23.     uuid($$LIBRARYID$$),
  24.     version(1.0),
  25.     helpstring("$$Safe_root$$ 1.0 Type Library")
  26. ]
  27. library $$SAFE_ROOT$$Lib
  28. {
  29.     importlib("stdole32.tlb");
  30.     importlib("stdole2.tlb");
  31.  
  32.     [
  33.         uuid($$CLASSID$$),
  34.         helpstring("$$Safe_root$$ Class")
  35.     ]
  36.     coclass $$Safe_root$$
  37.     {
  38.         [default] interface I$$Safe_root$$;
  39.     };
  40. };
  41.