home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML in Action / Dynamicke-HTML-v-akci-covermount.bin / XML / PARSER / XMLINST.EXE / classes / com / ms / xml / xmlstream / XMLURLStream / XMLURLStream.idl < prev    next >
Encoding:
Text File  |  1997-10-22  |  1.1 KB  |  43 lines

  1. // XMLURLStream.idl : IDL source for XMLURLStream.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (XMLURLStream.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.  
  10.     [
  11.         object,
  12.         uuid(C8AB904D-4132-11D1-A2CC-00C04FD73533),
  13.         dual,
  14.         helpstring("IXMLStream Interface"),
  15.         pointer_default(unique)
  16.     ]
  17.     interface IXMLStream : IDispatch
  18.     {
  19.         [id(1), helpstring("method Open")] HRESULT Open([in] BSTR url, [out, retval] int * outEncoding);
  20.         [id(2), helpstring("method Read")] HRESULT Read([out] int * buf, [in] int len, [out, retval] int * al);
  21.         [id(3), helpstring("method SetEncoding")] HRESULT SetEncoding([in] int encoding, [in] int offset);
  22.         [id(4), helpstring("method Close")] HRESULT Close();
  23.     };
  24. [
  25.     uuid(C8AB9040-4132-11D1-A2CC-00C04FD73533),
  26.     version(1.0),
  27.     helpstring("XMLURLStream 1.0 Type Library")
  28. ]
  29. library XMLURLSTREAMLib
  30. {
  31.     importlib("stdole32.tlb");
  32.     importlib("stdole2.tlb");
  33.  
  34.     [
  35.         uuid(0C97E34E-412B-11D1-A2CB-00C04FD73533),
  36.         helpstring("XMLStream Class")
  37.     ]
  38.     coclass XMLStream
  39.     {
  40.         [default] interface IXMLStream;
  41.     };
  42. };
  43.