55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
//+------------------------------------------------------------------------
|
|
//
|
|
// Filter and Bitmap Surface interfaces
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1996-1998.
|
|
//
|
|
// File: ocmm.idl
|
|
//
|
|
//-------------------------------------------------------------------------
|
|
|
|
import "oaidl.idl";
|
|
import "oleidl.idl";
|
|
|
|
interface IHTMLViewFilter;
|
|
interface IHTMLViewFilterSite;
|
|
|
|
cpp_quote("// GetStatusBits Flags")
|
|
cpp_quote("#define FILTER_STATUS_OPAQUE (0x00000001)")
|
|
cpp_quote("#define FILTER_STATUS_INVISIBLE (0x00000002)")
|
|
cpp_quote("#define FILTER_STATUS_SURFACE (0x00000004)")
|
|
cpp_quote("#define FILTER_STATUS_3DSURFACE (0x00000008)")
|
|
|
|
[
|
|
object,
|
|
uuid(3050f2f1-98b5-11cf-bb82-00aa00bdce0b),
|
|
pointer_default(unique),
|
|
local
|
|
]
|
|
interface IHTMLViewFilter : IUnknown
|
|
{
|
|
HRESULT SetSource([in] IHTMLViewFilter *pFilter);
|
|
HRESULT GetSource([out] IHTMLViewFilter **ppFilter);
|
|
HRESULT SetSite([in] IHTMLViewFilterSite *pSink);
|
|
HRESULT GetSite([out] IHTMLViewFilterSite **ppSink);
|
|
HRESULT SetPosition(LPCRECT prc);
|
|
HRESULT Draw([in] HDC hdc, [in] LPCRECT prcBounds);
|
|
HRESULT GetStatusBits([out] DWORD *pdwFlags);
|
|
}
|
|
|
|
[
|
|
object,
|
|
uuid(3050f2f4-98b5-11cf-bb82-00aa00bdce0b),
|
|
pointer_default(unique),
|
|
local
|
|
]
|
|
interface IHTMLViewFilterSite : IUnknown
|
|
{
|
|
HRESULT GetDC([in] LPCRECT prc, [in] DWORD dwFlags, [out] HDC *phdc);
|
|
HRESULT ReleaseDC([in] HDC hdc);
|
|
HRESULT InvalidateRect([in] LPCRECT prc, [in] BOOL fErase);
|
|
HRESULT InvalidateRgn([in] HRGN hrgn, [in] BOOL fErase);
|
|
HRESULT OnStatusBitsChange([in] DWORD dwFlags);
|
|
}
|
|
|