它在新版本的MSHTML.h中,Delphi5带的MSHTML.pas版本较旧,没有定义(Delphi6,7带的
的不知道是否有定义,你可以找一找)。
下面是它的C语言定义。
#ifndef __IHTMLWindow4_FWD_DEFINED__
#define __IHTMLWindow4_FWD_DEFINED__
typedef interface IHTMLWindow4 IHTMLWindow4;
#endif /* __IHTMLWindow4_FWD_DEFINED__ */
EXTERN_C const IID IID_IHTMLWindow4;
MIDL_INTERFACE("3050f6cf-98b5-11cf-bb82-00aa00bdce0b")
IHTMLWindow4 : public IDispatch
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE createPopup(
/* [in][optional] */ VARIANT *varArgIn,
/* [out][retval] */ IDispatch **ppPopup) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_frameElement(
/* [out][retval] */ IHTMLFrameBase **p) = 0;
};
/* [id] */ HRESULT STDMETHODCALLTYPE IHTMLWindow4_createPopup_Proxy(
IHTMLWindow4 * This,
/* [in][optional] */ VARIANT *varArgIn,
/* [out][retval] */ IDispatch **ppPopup);
void __RPC_STUB IHTMLWindow4_createPopup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IHTMLWindow4_get_frameElement_Proxy(
IHTMLWindow4 * This,
/* [out][retval] */ IHTMLFrameBase **p);
void __RPC_STUB IHTMLWindow4_get_frameElement_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
....
#endif /* __IHTMLWindow4_INTERFACE_DEFINED__ */