home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / activedoc / activedoc.idl < prev    next >
Text File  |  1998-03-26  |  764b  |  43 lines

  1. #include <olectl.h>
  2. // ActiveDoc.idl : IDL source for ActiveDoc.dll
  3. //
  4.  
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (ActiveDoc.tlb) and marshalling code.
  7.  
  8.     
  9.  
  10.     [
  11.         object,
  12.         uuid(93901786-436B-11D0-B965-000000000000),
  13.         dual,
  14.         helpstring("IActiveDoc Interface"),
  15.         pointer_default(unique)
  16.     ]
  17.     interface IActiveDoc : IDispatch
  18.     {
  19.         import "oaidl.idl";
  20.         import "ocidl.idl";
  21.  
  22.     };
  23. [
  24.     uuid(93901783-436B-11D0-B965-000000000000),
  25.     version(1.0),
  26.     helpstring("ActiveDoc 1.0 Type Library")
  27. ]
  28. library ACTIVEDOCLib
  29. {
  30.     importlib("stdole32.tlb");
  31.  
  32.     
  33.  
  34.     [
  35.         uuid(93901785-436B-11D0-B965-000000000000),
  36.         helpstring("ActiveDoc Class")
  37.     ]
  38.     coclass CActiveDoc
  39.     {
  40.         [default] interface IActiveDoc;
  41.     };
  42. };
  43.