home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / addins / wins / wins.idl < prev    next >
Text File  |  1998-04-08  |  966b  |  48 lines

  1. // wins.idl : IDL source for wins.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (wins.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.     [
  10.         object,
  11.         uuid(1CDA065E-8D5F-11D1-82FC-00A0C91BC942),
  12.         dual,
  13.         helpstring("IWindowsList Interface"),
  14.         pointer_default(unique)
  15.     ]
  16.     interface IWindowsList : IDispatch
  17.     {
  18.         [id(1)] HRESULT WindowsManager();
  19.         [id(2)] HRESULT MinWin();
  20.         [id(3)] HRESULT SetLimit();
  21.         [id(4)] HRESULT SetVisible();
  22.         [id(5)] HRESULT CloseDebugWnds();
  23.     };
  24.  
  25. [
  26.     uuid(1CDA0651-8D5F-11D1-82FC-00A0C91BC942),
  27.     version(1.0),
  28.     helpstring("wins 1.0 Type Library")
  29. ]
  30. library WINSLib
  31. {
  32.     importlib("stdole32.tlb");
  33.     importlib("stdole2.tlb");
  34.  
  35.     importlib("devshl.dll");
  36.     importlib("ide\devdbg.pkg");
  37.     
  38.  
  39.     [
  40.         uuid(1CDA065F-8D5F-11D1-82FC-00A0C91BC942),
  41.         helpstring("Windows List")
  42.     ]
  43.     coclass WindowsList
  44.     {
  45.         [default] interface IWindowsList;
  46.     };
  47. };
  48.