|
|
|
IOleDocument Interface |
|
IID_IOleDocument |
{0000011B-0000-0000-C000-000000000046} |
|
The IOleDocument interface enables a document object to communicate to containers its ability to create views of its data. This interface also enables a document object to enumerate its views and to provide containers with miscellaneous information about itself, such as whether it supports multiple views or complex rectangles.
A container of document objects calls the methods of this interface to ask a document object to create views of itself, enumerate the views it supports, or provide miscellaneous information about its capabilities.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IOleDocument Methods |
Description |
|
CreateView |
Creates a new view object. |
|
GetDocMiscStatus |
Returns status information about the document object. |
|
EnumViews |
Enumerates views supported by the document object. |
|
CreateView |
|
FUNCTION IOleDocument_CreateView ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pIPSite AS DWORD _ , BYVAL pstm AS DWORD _ , BYVAL dwReserved AS DWORD _ , BYREF ppView AS DWORD _ )
AS LONG
|
|
GetDocMiscStatus |
|
FUNCTION IOleDocument_GetDocMiscStatus ( _ BYVAL pthis AS DWORD PTR _ , BYREF pdwStatus AS DWORD _ ) AS
LONG
|
|
EnumViews |
|
FUNCTION IOleDocument_EnumViews ( _ BYVAL pthis AS DWORD PTR _ , BYREF ppenum AS DWORD _ , BYREF ppView AS DWORD _ ) AS LONG
|
Page last updated on Monday, 03 April 2006 20:31:15 +0200