MS에서 더이상 SDK에 공개하지 않는 IHTMLElementRender 인터페이스 입니다.
웹 페이지로 프로그램 하다보면 한 번씩 필요할 때가 있습니다.
참고하세요~~
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0499 */ /* Compiler settings for mshtml.idl: Oicf, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ //@@MIDL_FILE_HEADING( ) #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif /* verify that the <rpcsal.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of <rpcndr.h> #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __ihtmlelementrender_h__ #define __ihtmlelementrender_h__ #ifndef __IHTMLElementRender_INTERFACE_DEFINED__ #define __IHTMLElementRender_INTERFACE_DEFINED__ /* interface IHTMLElementRender */ /* [uuid][unique][object] */ EXTERN_C const IID IID_IHTMLElementRender; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE( "3050f669-98b5-11cf-bb82-00aa00bdce0b" ) IHTMLElementRender : public IUnknown { public : virtual HRESULT STDMETHODCALLTYPE DrawToDC( /* [in] */ __RPC__in HDC hDC) = 0; virtual HRESULT STDMETHODCALLTYPE SetDocumentPrinter( /* [in] */ __RPC__in BSTR bstrPrinterName, /* [in] */ __RPC__in HDC hDC) = 0; }; #else /* C style interface */ typedef struct IHTMLElementRenderVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IHTMLElementRender * This, /* [in] */ __RPC__in REFIID riid, /* [iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IHTMLElementRender * This); ULONG ( STDMETHODCALLTYPE *Release )( IHTMLElementRender * This); HRESULT ( STDMETHODCALLTYPE *DrawToDC )( IHTMLElementRender * This, /* [in] */ __RPC__in HDC hDC); HRESULT ( STDMETHODCALLTYPE *SetDocumentPrinter )( IHTMLElementRender * This, /* [in] */ __RPC__in BSTR bstrPrinterName, /* [in] */ __RPC__in HDC hDC); END_INTERFACE } IHTMLElementRenderVtbl; interface IHTMLElementRender { CONST_VTBL struct IHTMLElementRenderVtbl *lpVtbl; }; #ifdef COBJMACROS #define IHTMLElementRender_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IHTMLElementRender_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IHTMLElementRender_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IHTMLElementRender_DrawToDC(This,hDC) \ ( (This)->lpVtbl -> DrawToDC(This,hDC) ) #define IHTMLElementRender_SetDocumentPrinter(This,bstrPrinterName,hDC) \ ( (This)->lpVtbl -> SetDocumentPrinter(This,bstrPrinterName,hDC) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IHTMLElementRender_INTERFACE_DEFINED__ */ #endif /* __ihtmlelementrender_h__ */ </rpcndr.h></rpcsal.h></rpcndr.h> |
'I ♥ Programming' 카테고리의 다른 글
[Delphi] MS Excel 문서 읽기 (0) | 2013.12.17 |
---|---|
DELPHI XE 버전에서 짜증나는 Code Template Complete 기능 죽이기... (0) | 2013.11.07 |
error C2065: 'GUID_NULL' : undeclared identifier (0) | 2013.07.11 |
나의 VS2010(VS2008) 설정 및 관련 매크로 (0) | 2013.03.22 |
영문폰트에 대한 기본 한글폰트 바꾸기 [펌] (0) | 2013.03.21 |