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

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