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

  1. #include <olectl.h>
  2. // ATLFire.idl : IDL source for ATLFire.dll
  3. //
  4.  
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (ATLFire.tlb) and marshalling code.
  7.  
  8. import "oaidl.idl";
  9. import "ocidl.idl";
  10.  
  11.     
  12.  
  13.     [
  14.         object,
  15.         uuid(479B29EE-9A2C-11D0-B696-00A0C903487A),
  16.         dual,
  17.         helpstring("IFireTabCtrl Interface"),
  18.         pointer_default(unique)
  19.     ]
  20.     interface IFireTabCtrl : IDispatch
  21.     {
  22.         [propget, id(1), helpstring("property Decay")] HRESULT Decay([out, retval] long *pVal);
  23.         [propput, id(1), helpstring("property Decay")] HRESULT Decay([in] long newVal);
  24.         [propget, id(2), helpstring("property Flammability")] HRESULT Flammability([out, retval] long *pVal);
  25.         [propput, id(2), helpstring("property Flammability")] HRESULT Flammability([in] long newVal);
  26.         [propget, id(3), helpstring("property MaxHeat")] HRESULT MaxHeat([out, retval] long *pVal);
  27.         [propput, id(3), helpstring("property MaxHeat")] HRESULT MaxHeat([in] long newVal);
  28.         [propget, id(4), helpstring("property SpreadRate")] HRESULT SpreadRate([out, retval] long *pVal);
  29.         [propput, id(4), helpstring("property SpreadRate")] HRESULT SpreadRate([in] long newVal);
  30.         [propget, id(5), helpstring("property Size")] HRESULT Size([out, retval] long *pVal);
  31.         [propput, id(5), helpstring("property Size")] HRESULT Size([in] long newVal);
  32.         [propget, id(6), helpstring("property Smoothness")] HRESULT Smoothness([out, retval] long *pVal);
  33.         [propput, id(6), helpstring("property Smoothness")] HRESULT Smoothness([in] long newVal);
  34.         [propget, id(7), helpstring("property Distribution")] HRESULT Distribution([out, retval] long *pVal);
  35.         [propput, id(7), helpstring("property Distribution")] HRESULT Distribution([in] long newVal);
  36.         [propget, id(8), helpstring("property Chaos")] HRESULT Chaos([out, retval] long *pVal);
  37.         [propput, id(8), helpstring("property Chaos")] HRESULT Chaos([in] long newVal);
  38.         [propget, id(9), helpstring("property StartTab")] HRESULT StartTab([out, retval] long *pVal);
  39.         [propput, id(9), helpstring("property StartTab")] HRESULT StartTab([in] long newVal);
  40.         [id(-552), helpstring("method AboutBox")] HRESULT AboutBox();
  41.     };
  42. [
  43.     uuid(479B29E1-9A2C-11D0-B696-00A0C903487A),
  44.     version(1.0),
  45.     helpstring("ATLFire 1.0 Type Library")
  46. ]
  47. library ATLFIRELib
  48. {
  49.     importlib("stdole32.tlb");
  50.     importlib("stdole2.tlb");
  51.  
  52.     [
  53.         uuid(479B29EF-9A2C-11D0-B696-00A0C903487A),
  54.         helpstring("FireTabCtrl Class")
  55.     ]
  56.     coclass FireTabCtrl
  57.     {
  58.         [default] interface IFireTabCtrl;
  59.     };
  60. };
  61.