home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / addins / booknote / booknote.idl < prev    next >
Text File  |  1998-04-02  |  830b  |  44 lines

  1. // booknote.idl : IDL source for booknote.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (booknote.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.     [
  10.         object,
  11.         uuid(336AB16D-9104-11D1-82FF-00A0C91BC942),
  12.         dual,
  13.         helpstring("IMarkIt Interface"),
  14.         pointer_default(unique)
  15.     ]
  16.     interface IMarkIt : IDispatch
  17.     {
  18.         [id(1)] HRESULT BookNote();
  19.     };
  20.  
  21. [
  22.     uuid(336AB160-9104-11D1-82FF-00A0C91BC942),
  23.     version(1.0),
  24.     helpstring("booknote 1.0 Type Library")
  25. ]
  26. library BOOKNOTELib
  27. {
  28.     importlib("stdole32.tlb");
  29.     importlib("stdole2.tlb");
  30.  
  31.     importlib("devshl.dll");
  32.     importlib("ide\devdbg.pkg");
  33.     
  34.  
  35.     [
  36.         uuid(336AB16E-9104-11D1-82FF-00A0C91BC942),
  37.         helpstring("MarkIt Class")
  38.     ]
  39.     coclass MarkIt
  40.     {
  41.         [default] interface IMarkIt;
  42.     };
  43. };
  44.