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

  1. // Aggreg.idl : IDL source for Aggreg.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (Aggreg.tlb) and marshalling code.
  6.  
  7.     [
  8.         object,
  9.         uuid(4F9A68ED-DD9D-11CF-9462-00AA00BBAD7F),
  10.         dual,
  11.         helpstring("IAgg Interface"),
  12.         pointer_default(unique)
  13.     ]
  14.     interface IAgg : IDispatch
  15.     {
  16.         import "oaidl.idl";
  17.         [propget, id(0)] HRESULT Name([out, retval] BSTR* pbstrName);
  18.     };
  19.  
  20.     [
  21.         object,
  22.         uuid(4F9A68F2-DD9D-11CF-9462-00AA00BBAD7F),
  23.         dual,
  24.         helpstring("IAggBlind Interface"),
  25.         pointer_default(unique)
  26.     ]
  27.     interface IAggBlind : IDispatch
  28.     {
  29.         import "oaidl.idl";
  30.         [propget, id(0)] HRESULT Name([out, retval] BSTR* pbstrName);
  31.     };
  32.  
  33.     [
  34.         object,
  35.         uuid(4F9A68F7-DD9D-11CF-9462-00AA00BBAD7F),
  36.         dual,
  37.         helpstring("IAutoAgg Interface"),
  38.         pointer_default(unique)
  39.     ]
  40.     interface IAutoAgg : IDispatch
  41.     {
  42.         import "oaidl.idl";
  43.         [propget, id(0)] HRESULT Name([out, retval] BSTR* pbstrName);
  44.     };
  45.  
  46.     [
  47.         object,
  48.         uuid(4F9A68FC-DD9D-11CF-9462-00AA00BBAD7F),
  49.         dual,
  50.         helpstring("IAutoAggB Interface"),
  51.         pointer_default(unique)
  52.     ]
  53.     interface IAutoAggB : IDispatch
  54.     {
  55.         import "oaidl.idl";
  56.         [propget, id(0)] HRESULT Name([out, retval] BSTR* pbstrName);
  57.     };
  58.  
  59. [
  60.     uuid(4F9A68EB-DD9D-11CF-9462-00AA00BBAD7F),
  61.     version(1.0),
  62.     helpstring("Aggreg 1.0 Type Library")
  63. ]
  64. library AGGREGLib
  65. {
  66.     importlib("stdole32.tlb");
  67.  
  68.     [
  69.         uuid(4F9A68F1-DD9D-11CF-9462-00AA00BBAD7F),
  70.         helpstring("Agg Class")
  71.     ]
  72.     coclass CAgg
  73.     {
  74.         [default] interface IAgg;
  75.     };
  76.  
  77.     [
  78.         uuid(4F9A68F6-DD9D-11CF-9462-00AA00BBAD7F),
  79.         helpstring("AggBlind Class")
  80.     ]
  81.     coclass CAggBlind
  82.     {
  83.         [default] interface IAggBlind;
  84.     };
  85.  
  86.     [
  87.         uuid(4F9A68FB-DD9D-11CF-9462-00AA00BBAD7F),
  88.         helpstring("AutoAgg Class")
  89.     ]
  90.     coclass CAutoAgg
  91.     {
  92.         [default] interface IAutoAgg;
  93.     };
  94.  
  95.     [
  96.         uuid(4F9A6900-DD9D-11CF-9462-00AA00BBAD7F),
  97.         helpstring("AutoAggB Class")
  98.     ]
  99.     coclass CAutoAggB
  100.     {
  101.         [default] interface IAutoAggB;
  102.     };
  103.  
  104. };
  105.  
  106.