Windows2003-3790/inetcore/mshtml/types/mshtmpre.idl
2020-09-30 16:53:55 +02:00

142 lines
5.2 KiB
Plaintext

//*********************************************************************
//* Microsoft Windows **
//* Copyright(c) Microsoft Corp., 1996-1998 **
//*********************************************************************
midl_pragma warning(disable:2362) // too many methods in the interface, requires Windows NT 4.0 SP3 or greater
#include <mshtmdid.h>
#include <mshtmcid.h>
#include <olectl.h>
import "ocidl.idl";
import "dimm.idl";
cpp_quote("#include <olectl.h>")
cpp_quote("EXTERN_C const GUID CMDSETID_Forms3;")
cpp_quote("EXTERN_C const GUID CLSID_MHTMLDocument;")
cpp_quote("EXTERN_C const GUID CLSID_HTADocument;")
cpp_quote("EXTERN_C const GUID CLSID_HTMLApplication;")
cpp_quote("EXTERN_C const GUID CLSID_HTMLPluginDocument;")
cpp_quote("DEFINE_GUID(SID_SEditCommandTarget,0x3050f4b5,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);")
cpp_quote("DEFINE_GUID(CGID_EditStateCommands,0x3050f4b6,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);")
cpp_quote("DEFINE_GUID(SID_SHTMLEditHost,0x3050f6a0,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);")
cpp_quote("DEFINE_GUID(SID_SHTMLEditServices,0x3050f7f9,0x98b5,0x11cf,0xbb,0x82,0x00,0xaa,0x00,0xbd,0xce,0x0b);")
cpp_quote("#define SID_SHTMLWindow IID_IHTMLWindow2")
cpp_quote("#define SID_SElementBehaviorFactory IID_IElementBehaviorFactory")
cpp_quote("// This information will be the LOWORD of the privacy flags stored in the privacy record")
cpp_quote("#define COOKIEACTION_NONE 0x00000000")
cpp_quote("#define COOKIEACTION_ACCEPT 0x00000001")
cpp_quote("#define COOKIEACTION_REJECT 0x00000002")
cpp_quote("#define COOKIEACTION_DOWNGRADE 0x00000004")
cpp_quote("#define COOKIEACTION_LEASH 0x00000008")
cpp_quote("#define COOKIEACTION_SUPPRESS 0x00000010")
cpp_quote("#define COOKIEACTION_READ 0x00000020")
cpp_quote("// Privacy info related to the url")
cpp_quote("// This information will be the HIWORD of the privacy flags stored in the privacy record")
cpp_quote("#define PRIVACY_URLISTOPLEVEL 0x00010000 // Is this a top level url?")
cpp_quote("#define PRIVACY_URLHASCOMPACTPOLICY 0x00020000 // Did the url have a compact policy used for privacy evaluations")
cpp_quote("#define PRIVACY_URLHASPOSTDATA 0x00080000 // Is this a POST request?")
cpp_quote("#define PRIVACY_URLHASPOLICYREFLINK 0x00100000 // Did the url have a privacy ref url in a link tag")
cpp_quote("#define PRIVACY_URLHASPOLICYREFHEADER 0x00200000 // Did the url have a privacy ref url in a header tag")
cpp_quote("#define PRIVACY_URLHASP3PHEADER 0x00400000 // Did the url have a privacy ref url in a header tag")
cpp_quote( "#ifndef _WINGDI_")
// Logical Font
#define LF_FACESIZE 32
typedef struct tagLOGFONTA
{
LONG lfHeight;
LONG lfWidth;
LONG lfEscapement;
LONG lfOrientation;
LONG lfWeight;
BYTE lfItalic;
BYTE lfUnderline;
BYTE lfStrikeOut;
BYTE lfCharSet;
BYTE lfOutPrecision;
BYTE lfClipPrecision;
BYTE lfQuality;
BYTE lfPitchAndFamily;
CHAR lfFaceName[LF_FACESIZE];
} LOGFONTA;
typedef struct tagLOGFONTW
{
LONG lfHeight;
LONG lfWidth;
LONG lfEscapement;
LONG lfOrientation;
LONG lfWeight;
BYTE lfItalic;
BYTE lfUnderline;
BYTE lfStrikeOut;
BYTE lfCharSet;
BYTE lfOutPrecision;
BYTE lfClipPrecision;
BYTE lfQuality;
BYTE lfPitchAndFamily;
WCHAR lfFaceName[LF_FACESIZE];
} LOGFONTW;
#ifdef UNICODE
typedef LOGFONTW LOGFONT;
#else
typedef LOGFONTA LOGFONT;
#endif // UNICODE
cpp_quote( "#endif")
[
odl,
oleautomation,
dual,
uuid(3050f3ee-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLFiltersCollection : IDispatch
{
[propget, id(DISPID_IHTMLFILTERSCOLLECTION_LENGTH)] HRESULT length([retval, out] long * p);
[propget, id(DISPID_IHTMLFILTERSCOLLECTION__NEWENUM), hidden, restricted] HRESULT _newEnum([retval, out] IUnknown* * p);
[id(DISPID_IHTMLFILTERSCOLLECTION_ITEM)] HRESULT item([in] VARIANT* pvarIndex,[retval, out] VARIANT* pvarResult);
};
[
lcid(0x0000), // lcid =0; locale independent.
helpstring("Microsoft HTML Object Library"),
version(4.00), // WARNING: This version must match VERSION in dllreg.cxx.
uuid(3050f1c5-98b5-11cf-bb82-00aa00bdce0b)
]
library MSHTML
{
#ifndef _MAC
importlib("stdole2.tlb");
#else
importlib("mstdole.tlb");
#endif
import "ocidl.idl";
#include <olectl.h>
// Forward definitions:
interface IHTMLEventObj;
enum BEHAVIOR_EVENT;
enum BEHAVIOR_EVENT_FLAGS;
enum BEHAVIOR_RENDER_INFO;
enum BEHAVIOR_RELATION;
interface IElementBehaviorSite;
interface IElementBehavior;
interface IElementBehaviorFactory;
interface IElementBehaviorSiteOM;
interface IElementBehaviorRender;
interface IElementBehaviorSiteRender;