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

  1. // ATLCon.idl : IDL source for ATLCon.EXE
  2. //
  3. // This is a part of the Active Template Library.
  4. // Copyright (C) 1996-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Active Template Library Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Active Template Library product.
  12.  
  13. // This file will be processed by the MIDL tool to
  14. // produce the type library (ATLCon.tlb) and marshalling code.
  15.  
  16. import "oaidl.idl";
  17. import "ocidl.idl";
  18.  
  19. [
  20.     object,
  21.     uuid(A144CF60-B137-11d1-AB87-004005352C49),
  22.     dual,
  23.     helpstring("IATLConPropertyBrowser Interface"),
  24.     pointer_default(unique)
  25. ]
  26. interface IATLConPropertyBrowser : IDispatch
  27. {
  28.     [propput, helpstring("Set the interface to browse")]
  29.     HRESULT Dispatch([in]IDispatch* pDispatch);
  30.     [propget, helpstring("Get the interface being browsed")]
  31.     HRESULT Dispatch([out,retval]IDispatch** ppDispatch);
  32.     [propget, id(1), helpstring("Enable/Disable the property description")] HRESULT ShowDescription([out, retval] BOOL *pVal);
  33.     [propput, id(1), helpstring("Is property description enabled")] HRESULT ShowDescription([in] BOOL newVal);
  34. };
  35.  
  36. [
  37.     uuid(48C9E96F-76B0-11D1-B293-0040053089AE),
  38.     version(1.0),
  39.     helpstring("ATLCon 1.0 Type Library")
  40. ]
  41. library ATLCONLib
  42. {
  43.     importlib("stdole32.tlb");
  44.     importlib("stdole2.tlb");
  45.  
  46.     [
  47.         uuid(A144CF61-B137-11d1-AB87-004005352C49),
  48.         helpstring("ATLConPropertyBrowser Class")
  49.     ]
  50.     coclass ATLConPropertyBrowser
  51.     {
  52.         [default] interface IATLConPropertyBrowser;
  53.     };
  54. };
  55.