Retrieves the view site associated with this view object.
HRESULT GetInPlaceSite(
IOleInPlaceSite **ppIPSite //Address of output variable that
// receives the IOleInPlaceSite interface
// pointer
);
This method supports the standard return value E_FAIL, as well as the following:
GetInPlaceSite obtains the most recent IOleInPlaceSite pointer passed by IOleDocumentView::SetInPlaceSite, or NULL if SetInPlaceSite has not yet been called. If this pointer is not NULL, this method will call AddRef on the pointer. The caller is responsible for releasing it. A document view must implement this method completely; E_NOTIMPL is not an acceptable return value.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in docobj.h.
IOleDocumentView::SetInPlaceSite, IOleInPlaceSite