1 2 3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */ 4 5 6 /* File created by MIDL compiler version 8.xx.xxxx */ 7 /* at a redacted point in time 8 */ 9 /* Compiler settings for ../../third_party/isimpledom/ISimpleDOMDocument.idl: 10 Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.xx.xxxx 11 protocol : dce , ms_ext, c_ext, robust 12 error checks: allocation ref bounds_check enum stub_data 13 VC __declspec() decoration level: 14 __declspec(uuid()), __declspec(selectany), __declspec(novtable) 15 DECLSPEC_UUID(), MIDL_INTERFACE() 16 */ 17 /* @@MIDL_FILE_HEADING( ) */ 18 19 #pragma warning( disable: 4049 ) /* more than 64k source lines */ 20 21 22 /* verify that the <rpcndr.h> version is high enough to compile this file*/ 23 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 24 #define __REQUIRED_RPCNDR_H_VERSION__ 475 25 #endif 26 27 #include "rpc.h" 28 #include "rpcndr.h" 29 30 #ifndef __RPCNDR_H_VERSION__ 31 #error this stub requires an updated version of <rpcndr.h> 32 #endif /* __RPCNDR_H_VERSION__ */ 33 34 #ifndef COM_NO_WINDOWS_H 35 #include "windows.h" 36 #include "ole2.h" 37 #endif /*COM_NO_WINDOWS_H*/ 38 39 #ifndef __ISimpleDOMDocument_h__ 40 #define __ISimpleDOMDocument_h__ 41 42 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 43 #pragma once 44 #endif 45 46 /* Forward Declarations */ 47 48 #ifndef __ISimpleDOMDocument_FWD_DEFINED__ 49 #define __ISimpleDOMDocument_FWD_DEFINED__ 50 typedef interface ISimpleDOMDocument ISimpleDOMDocument; 51 52 #endif /* __ISimpleDOMDocument_FWD_DEFINED__ */ 53 54 55 /* header files for imported files */ 56 #include "objidl.h" 57 #include "oaidl.h" 58 59 #ifdef __cplusplus 60 extern "C"{ 61 #endif 62 63 64 /* interface __MIDL_itf_ISimpleDOMDocument_0000_0000 */ 65 /* [local] */ 66 67 /////////////////////////////////////////////////////////////////////////////////////////////////////// 68 // 69 // ISimpleDOMDocument 70 // 71 // @STATUS UNDER_REVIEW 72 // ---------------------------------------------------------------------------------------------------= 73 // 74 // get_URL(out] BSTR *url) 75 // ---------------------------------------------------------------------------------------------------= 76 // Get the internet URL associated with this document. 77 // 78 // get_title([out BSTR *title 79 // ---------------------------------------------------------------------------------------------------= 80 // Get the document's title from the <TITLE> element 81 // 82 // get_mimeType([out BSTR *mimeType 83 // ---------------------------------------------------------------------------------------------------= 84 // Get the registered mime type, such as text/html 85 // 86 // get_docType([out] BSTR *docType 87 // ---------------------------------------------------------------------------------------------------= 88 // Get doctype associated with the <!DOCTYPE ..> element 89 // 90 // get_nameSpaceURIForID([in] short nameSpaceID, [out] BSTR *nameSpaceURI) 91 // ---------------------------------------------------------------------------------------------------= 92 // Some of the methods for ISimpleDOMNode return a nameSpaceID (-1,0,1,2,3,....) 93 // This method returns the associated namespace URI for each ID. 94 // 95 // set_alternateViewMediaTypes([in] BSTR *commaSeparatedMediaType) 96 // ---------------------------------------------------------------------------------------------------= 97 // For style property retrieval on nsISimpleDOMNode elements, 98 // set the additional alternate media types that properties are available for. 99 // [in] BSTR *commaSeparatedMediaTypes is a comma separate list, for example "aural, braille". 100 // The alternate media properties are requested with nsISimpleDOMNode::get_computedStyle. 101 // Note: setting this value on a document will increase memory overhead, and may create a small delay. 102 // 103 // W3C media Types: 104 // * all: Suitable for all devices. 105 // * aural: Intended for speech synthesizers. See the section on aural style sheets for details. 106 // * braille: Intended for braille tactile feedback devices. 107 // * embossed: Intended for paged braille printers. 108 // * handheld: Intended for handheld devices - typically small screen, monochrome, limited bandwidth. 109 // * print: Intended for paged, opaque material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media. 110 // * projection: Intended for projected presentations, for example projectors or print to transparencies. Please consult the section on paged media for information about formatting issues that are specific to paged media. 111 // * screen: Intended primarily for color computer screens. 112 // * tty: intended for media using a fixed-pitch character grid, such as teletypes, terminals, or portable devices with limited display capabilities. Authors should not use pixel units with the tty media type. 113 // * tv: Intended for television-type devices - low resolution, color, limited-scrollability screens, sound 114 // * See latest W3C CSS specs for complete list of media types 115 // 116 // 117 /////////////////////////////////////////////////////////////////////////////////////////////////////// 118 119 120 #define DISPID_DOC_URL ( -5904 ) 121 122 #define DISPID_DOC_TITLE ( -5905 ) 123 124 #define DISPID_DOC_MIMETYPE ( -5906 ) 125 126 #define DISPID_DOC_DOCTYPE ( -5907 ) 127 128 #define DISPID_DOC_NAMESPACE ( -5908 ) 129 130 #define DISPID_DOC_MEDIATYPES ( -5909 ) 131 132 133 134 extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMDocument_0000_0000_v0_0_c_ifspec; 135 extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMDocument_0000_0000_v0_0_s_ifspec; 136 137 #ifndef __ISimpleDOMDocument_INTERFACE_DEFINED__ 138 #define __ISimpleDOMDocument_INTERFACE_DEFINED__ 139 140 /* interface ISimpleDOMDocument */ 141 /* [uuid][object] */ 142 143 144 EXTERN_C const IID IID_ISimpleDOMDocument; 145 146 #if defined(__cplusplus) && !defined(CINTERFACE) 147 148 MIDL_INTERFACE("0D68D6D0-D93D-4d08-A30D-F00DD1F45B24") 149 ISimpleDOMDocument : public IUnknown 150 { 151 public: 152 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_URL( 153 /* [retval][out] */ BSTR *url) = 0; 154 155 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_title( 156 /* [retval][out] */ BSTR *title) = 0; 157 158 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_mimeType( 159 /* [retval][out] */ BSTR *mimeType) = 0; 160 161 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_docType( 162 /* [retval][out] */ BSTR *docType) = 0; 163 164 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_nameSpaceURIForID( 165 /* [in] */ short nameSpaceID, 166 /* [retval][out] */ BSTR *nameSpaceURI) = 0; 167 168 virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_alternateViewMediaTypes( 169 /* [in] */ BSTR *commaSeparatedMediaTypes) = 0; 170 171 }; 172 173 174 #else /* C style interface */ 175 176 typedef struct ISimpleDOMDocumentVtbl 177 { 178 BEGIN_INTERFACE 179 180 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 181 ISimpleDOMDocument * This, 182 /* [in] */ REFIID riid, 183 /* [annotation][iid_is][out] */ 184 _COM_Outptr_ void **ppvObject); 185 186 ULONG ( STDMETHODCALLTYPE *AddRef )( 187 ISimpleDOMDocument * This); 188 189 ULONG ( STDMETHODCALLTYPE *Release )( 190 ISimpleDOMDocument * This); 191 192 /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_URL )( 193 ISimpleDOMDocument * This, 194 /* [retval][out] */ BSTR *url); 195 196 /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_title )( 197 ISimpleDOMDocument * This, 198 /* [retval][out] */ BSTR *title); 199 200 /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_mimeType )( 201 ISimpleDOMDocument * This, 202 /* [retval][out] */ BSTR *mimeType); 203 204 /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_docType )( 205 ISimpleDOMDocument * This, 206 /* [retval][out] */ BSTR *docType); 207 208 /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_nameSpaceURIForID )( 209 ISimpleDOMDocument * This, 210 /* [in] */ short nameSpaceID, 211 /* [retval][out] */ BSTR *nameSpaceURI); 212 213 /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_alternateViewMediaTypes )( 214 ISimpleDOMDocument * This, 215 /* [in] */ BSTR *commaSeparatedMediaTypes); 216 217 END_INTERFACE 218 } ISimpleDOMDocumentVtbl; 219 220 interface ISimpleDOMDocument 221 { 222 CONST_VTBL struct ISimpleDOMDocumentVtbl *lpVtbl; 223 }; 224 225 226 227 #ifdef COBJMACROS 228 229 230 #define ISimpleDOMDocument_QueryInterface(This,riid,ppvObject) \ 231 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 232 233 #define ISimpleDOMDocument_AddRef(This) \ 234 ( (This)->lpVtbl -> AddRef(This) ) 235 236 #define ISimpleDOMDocument_Release(This) \ 237 ( (This)->lpVtbl -> Release(This) ) 238 239 240 #define ISimpleDOMDocument_get_URL(This,url) \ 241 ( (This)->lpVtbl -> get_URL(This,url) ) 242 243 #define ISimpleDOMDocument_get_title(This,title) \ 244 ( (This)->lpVtbl -> get_title(This,title) ) 245 246 #define ISimpleDOMDocument_get_mimeType(This,mimeType) \ 247 ( (This)->lpVtbl -> get_mimeType(This,mimeType) ) 248 249 #define ISimpleDOMDocument_get_docType(This,docType) \ 250 ( (This)->lpVtbl -> get_docType(This,docType) ) 251 252 #define ISimpleDOMDocument_get_nameSpaceURIForID(This,nameSpaceID,nameSpaceURI) \ 253 ( (This)->lpVtbl -> get_nameSpaceURIForID(This,nameSpaceID,nameSpaceURI) ) 254 255 #define ISimpleDOMDocument_put_alternateViewMediaTypes(This,commaSeparatedMediaTypes) \ 256 ( (This)->lpVtbl -> put_alternateViewMediaTypes(This,commaSeparatedMediaTypes) ) 257 258 #endif /* COBJMACROS */ 259 260 261 #endif /* C style interface */ 262 263 264 265 266 #endif /* __ISimpleDOMDocument_INTERFACE_DEFINED__ */ 267 268 269 /* Additional Prototypes for ALL interfaces */ 270 271 unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * ); 272 unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * ); 273 unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 274 void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * ); 275 276 /* end of Additional Prototypes */ 277 278 #ifdef __cplusplus 279 } 280 #endif 281 282 #endif 283 284 285