blob: 3fdbf2385ec30a9ad434a8f8d423c6aea5bbdedb (
plain) (
blame)
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
|
//**********************************************************************
// File name: IOIPS.H
//
// Definition of COleInPlaceSite
//
// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#if !defined( _IOIPS_H_ )
#define _IOIPS_H_
class CSimpleSite;
interface COleInPlaceSite : public IOleInPlaceSite
{
CSimpleSite FAR * m_pSite;
COleInPlaceSite(CSimpleSite FAR *pSite)
{
TestDebugOut(TEXT("In IOIPS's constructor\r\n"));
m_pSite = pSite;
};
~COleInPlaceSite()
{
TestDebugOut(TEXT("In IOIPS;s destructor\r\n"));
};
STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv);
STDMETHODIMP_(ULONG) AddRef ();
STDMETHODIMP_(ULONG) Release ();
STDMETHODIMP GetWindow (HWND FAR* lphwnd);
STDMETHODIMP ContextSensitiveHelp (BOOL fEnterMode);
// *** IOleInPlaceSite methods ***
STDMETHODIMP CanInPlaceActivate ();
STDMETHODIMP OnInPlaceActivate ();
STDMETHODIMP OnUIActivate ();
STDMETHODIMP GetWindowContext (LPOLEINPLACEFRAME FAR* lplpFrame,
LPOLEINPLACEUIWINDOW FAR* lplpDoc,
LPRECT lprcPosRect,
LPRECT lprcClipRect,
LPOLEINPLACEFRAMEINFO lpFrameInfo);
STDMETHODIMP Scroll (SIZE scrollExtent);
STDMETHODIMP OnUIDeactivate (BOOL fUndoable);
STDMETHODIMP OnInPlaceDeactivate ();
STDMETHODIMP DiscardUndoState ();
STDMETHODIMP DeactivateAndUndo ();
STDMETHODIMP OnPosRectChange (LPCRECT lprcPosRect);
};
#endif
|