home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / Samples / CustDoc / plotter / Plotter.ODL < prev    next >
Encoding:
Microsoft Object Description Language  |  1998-03-05  |  689 b   |  30 lines

  1. // Copyright (c) 1998  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.  
  12.     [ uuid(EFFA21E1-6928-11d0-BFFC-00AA003CFDFC), version(1.0),
  13.       helpstring("Simple test"),
  14.       odl]
  15.     interface IPlotter : IUnknown
  16.     {
  17.         HRESULT DrawLine([in] POINT *start, [in] POINT *end);  
  18.     }
  19.  
  20.  
  21.  
  22.     [ uuid(EFFA21E2-6928-11d0-BFFC-00AA003CFDFC), version(1.0),
  23.       helpstring("Simple test")
  24.     ]
  25.     coclass CPlotter {
  26.         [default] interface IPlotter;
  27.     }
  28.  
  29. };
  30.