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

  1. #include <olectl.h>
  2. // Async.idl : IDL source for Async.dll
  3. //
  4.  
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (Async.tlb) and marshalling code.
  7.  
  8.  
  9.     
  10.  
  11.     [
  12.         object,
  13.         uuid(012F24D5-35B0-11D0-BF2D-0000E8D0D146),
  14.         dual,
  15.         helpstring("IATLAsync Interface"),
  16.         pointer_default(unique)
  17.     ]
  18.     interface IATLAsync : IDispatch
  19.     {
  20.         import "oaidl.idl";
  21.         import "ocidl.idl";
  22.  
  23.         [propput, id(0)]
  24.         HRESULT URL([in]BSTR strURL);
  25.         [propget, id(0)]
  26.         HRESULT URL([out,retval]BSTR* pstrURL);
  27.  
  28.     };
  29. [
  30.     uuid(012F24C1-35B0-11D0-BF2D-0000E8D0D146),
  31.     version(1.0),
  32.     helpstring("Async 1.0 Type Library")
  33. ]
  34. library ASYNCLib
  35. {
  36.     importlib("stdole32.tlb");
  37.     
  38.  
  39.     [
  40.         uuid(012F24D4-35B0-11D0-BF2D-0000E8D0D146),
  41.         helpstring("ATLAsync Class")
  42.     ]
  43.     coclass CATLAsync
  44.     {
  45.         [default] interface IATLAsync;
  46.     };
  47. };
  48.