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

  1. // DrawServ.idl : IDL source for DrawServ.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (DrawServ.tlb) and marshalling code.
  6.  
  7.     [
  8.         object,
  9.         uuid(330E9E75-DF48-11CF-8E2C-00A0C90DC94B),
  10.         dual,
  11.         helpstring("IDrawServ Interface"),
  12.         pointer_default(unique)
  13.     ]
  14.     interface IDrawServ : IDispatch
  15.     {
  16.         import "oaidl.idl";
  17.         HRESULT Draw(
  18.             [in] long x1, [in] long y1,
  19.             [in] long x2, [in] long y2,
  20.             [in] unsigned long col);
  21.     };
  22.  
  23.  
  24. [
  25.     uuid(330E9E73-DF48-11CF-8E2C-00A0C90DC94B),
  26.     version(1.0),
  27.     helpstring("DrawServ 1.0 Type Library")
  28. ]
  29. library DRAWSERVLib
  30. {
  31.     importlib("stdole32.tlb");
  32.  
  33.     [
  34.         uuid(330E9E79-DF48-11CF-8E2C-00A0C90DC94B),
  35.         helpstring("DrawServ1 Class")
  36.     ]
  37.     coclass CDrawServ
  38.     {
  39.         [default] interface IDrawServ;
  40.     };
  41.  
  42. };
  43.