home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / COM / CustomMarshal / plotter / Plotter.IDL < prev    next >
Encoding:
Text File  |  2000-05-04  |  690 b   |  29 lines

  1. // (C) Copyright 1995 - 1999 Microsoft Corporation.  All rights reserved.
  2.  
  3. [ uuid(EFFA21E0-6928-11d0-BFFC-00AA003CFDFC), version(1.0),
  4.   helpstring("Sample Custom Marshaling (Java->COM)") ]
  5. library JavaLib
  6. {
  7.  
  8.     importlib("stdole32.tlb");
  9.     importlib("sysdata.tlb");
  10.  
  11.     [ uuid(EFFA21E1-6928-11d0-BFFC-00AA003CFDFC), version(1.0),
  12.       helpstring("Simple test"),
  13.       odl]
  14.     interface IPlotter : IUnknown
  15.     {
  16.         HRESULT DrawLine([in] POINT *start, [in] POINT *end);  
  17.     }
  18.  
  19.  
  20.  
  21.     [ uuid(EFFA21E2-6928-11d0-BFFC-00AA003CFDFC), version(1.0),
  22.       helpstring("Simple test")
  23.     ]
  24.     coclass CPlotter {
  25.         [default] interface IPlotter;
  26.     }
  27.  
  28. };
  29.