.pragma list(push, 0)
ifndef __REQUIRED_RPCNDR_H_VERSION__
define __REQUIRED_RPCNDR_H_VERSION__ 475
endif
ifndef __REQUIRED_RPCSAL_H_VERSION__
define __REQUIRED_RPCSAL_H_VERSION__ 100
endif

include rpc.inc
include rpcndr.inc
ifndef __RPCNDR_H_VERSION__
 .err <this stub requires an updated version of rpcndr>
endif

ifndef COM_NO_WINDOWS_H
include windows.inc
include ole2.inc
endif

ifndef __docobj_h__
define __docobj_h__

include ocidl.inc

;pragma comment(lib,"uuid.lib")

ifndef _LPOLEDOCUMENT_DEFINED
define _LPOLEDOCUMENT_DEFINED

ifndef __IOleDocument_INTERFACE_DEFINED__
define __IOleDocument_INTERFACE_DEFINED__

.enum DOCMISC {

	DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
	DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
	DOCMISC_CANTOPENEDIT  = 4,
	DOCMISC_NOFILESUPPORT = 8
    }

DEFINE_GUID(IID_IOleDocument, 0xb722bcc5, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70)

.comdef IOleDocument : public IUnknown

    CreateView		proc :ptr, :ptr, :DWORD, :ptr
    GetDocMiscStatus	proc :ptr
    EnumViews		proc :ptr, :ptr
   .ends
    LPOLEDOCUMENT	typedef ptr IOleDocument

endif
endif

ifndef _LPOLEDOCUMENTSITE_DEFINED
define _LPOLEDOCUMENTSITE_DEFINED

ifndef __IOleDocumentSite_INTERFACE_DEFINED__
define __IOleDocumentSite_INTERFACE_DEFINED__

DEFINE_GUID(IID_IOleDocumentSite, 0xb722bcc7, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70)

.comdef IOleDocumentSite : public IUnknown

    ActivateMe		proc :ptr
   .ends
    LPOLEDOCUMENTSITE	typedef ptr IOleDocumentSite

endif
endif

ifndef _LPOLEDOCUMENTVIEW_DEFINED
define _LPOLEDOCUMENTVIEW_DEFINED

ifndef __IOleDocumentView_INTERFACE_DEFINED__
define __IOleDocumentView_INTERFACE_DEFINED__

DEFINE_GUID(IID_IOleDocumentView, 0xb722bcc6, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70)

.comdef IOleDocumentView : public IUnknown

    SetInPlaceSite	proc :ptr
    GetInPlaceSite	proc :ptr
    GetDocument		proc :ptr
    SetRect		proc :ptr
    GetRect		proc :ptr
    SetRectComplex	proc :ptr, :ptr, :ptr, :ptr
    Show		proc :BOOL
    UIActivate		proc :BOOL
    Open		proc
    CloseView		proc :DWORD
    SaveViewState	proc :ptr
    ApplyViewState	proc :ptr
    Clone		proc :ptr, :ptr
   .ends
    LPOLEDOCUMENTVIEW	typedef ptr IOleDocumentView

endif
endif

ifndef _LPENUMOLEDOCUMENTVIEWS_DEFINED
define _LPENUMOLEDOCUMENTVIEWS_DEFINED

ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__
define __IEnumOleDocumentViews_INTERFACE_DEFINED__

DEFINE_GUID(IID_IEnumOleDocumentViews, 0xb722bcc8, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70)

.comdef IEnumOleDocumentViews : public IUnknown

    Next		proc :ULONG, :LPOLEDOCUMENTVIEW, :PULONG
    Skip		proc :ULONG
    Reset		proc
    Clone		proc :ptr
   .ends
    LPENUMOLEDOCUMENTVIEWS typedef ptr IEnumOleDocumentViews

endif
endif

ifndef _LPCONTINUECALLBACK_DEFINED
define _LPCONTINUECALLBACK_DEFINED

ifndef __IContinueCallback_INTERFACE_DEFINED__
define __IContinueCallback_INTERFACE_DEFINED__

DEFINE_IIDX(IContinueCallback, "b722bcca-4e68-101b-a2bc-00aa00404770")

.comdef IContinueCallback : public IUnknown

    FContinue		proc
    FContinuePrinting	proc :LONG, :LONG, :ptr
   .ends
    LPCONTINUECALLBACK	typedef ptr IContinueCallback

endif ; __IContinueCallback_INTERFACE_DEFINED__
endif ; _LPCONTINUECALLBACK_DEFINED

ifndef _LPPRINT_DEFINED
define _LPPRINT_DEFINED

ifndef __IPrint_INTERFACE_DEFINED__
define __IPrint_INTERFACE_DEFINED__


_MIDL_IPrint_0001	typedef SDWORD
PRINTFLAG_MAYBOTHERUSER equ 1
PRINTFLAG_PROMPTUSER	equ 2
PRINTFLAG_USERMAYCHANGEPRINTER equ 4
PRINTFLAG_RECOMPOSETODEVICE equ 8
PRINTFLAG_DONTACTUALLYPRINT equ 16
PRINTFLAG_FORCEPROPERTIES equ 32
PRINTFLAG_PRINTTOFILE	equ 64

PAGERANGE		STRUC
nFromPage		LONG ?
nToPage			LONG ?
PAGERANGE		ENDS

PAGESET			STRUC
cbStruct		ULONG ?
fOddPages		BOOL ?
fEvenPages		BOOL ?
cPageRange		ULONG ?
rgPages			PAGERANGE  1  dup(<>)
PAGESET			ENDS

PAGESET_TOLASTPAGE	equ (-1)

DEFINE_IIDX(IPrint, "b722bcc9-4e68-101b-a2bc-00aa00404770")

.comdef IPrint : public IUnknown

    SetInitialPageNum	proc :LONG
    GetPageInfo		proc :ptr, :ptr
    Print		proc :DWORD, :ptr, :ptr, :ptr, :ptr, :LONG, :ptr, :ptr

    .ends
    LPPRINT		typedef ptr IPrint

endif  ; __IPrint_INTERFACE_DEFINED__
endif  ; _LPPRINT_DEFINED

ifndef _LPOLECOMMANDTARGET_DEFINED
define _LPOLECOMMANDTARGET_DEFINED

ifndef __IOleCommandTarget_INTERFACE_DEFINED__
define __IOleCommandTarget_INTERFACE_DEFINED__

OLECMDF			typedef SDWORD
OLECMDF_SUPPORTED	equ 0x1
OLECMDF_ENABLED		equ 0x2
OLECMDF_LATCHED		equ 0x4
OLECMDF_NINCHED		equ 0x8
OLECMDF_INVISIBLE	equ 0x10
OLECMDF_DEFHIDEONCTXTMENU equ 0x20

OLECMD			STRUC
cmdID			ULONG ?
cmdf			dd ?
OLECMD			ENDS

OLECMDTEXT		STRUC
cmdtextf		dd ?
cwActual		ULONG ?
cwBuf			ULONG ?
rgwz			wchar_t	 1  dup(?)
OLECMDTEXT		ENDS

OLECMDTEXTF		typedef SDWORD
OLECMDTEXTF_NONE	equ 0
OLECMDTEXTF_NAME	equ 1
OLECMDTEXTF_STATUS	equ 2

OLECMDEXECOPT		typedef SDWORD
OLECMDEXECOPT_DODEFAULT equ 0
OLECMDEXECOPT_PROMPTUSER equ 1
OLECMDEXECOPT_DONTPROMPTUSER equ 2
OLECMDEXECOPT_SHOWHELP	equ 3

OLECMDID		typedef SDWORD
OLECMDID_OPEN		equ 1
OLECMDID_NEW		equ 2
OLECMDID_SAVE		equ 3
OLECMDID_SAVEAS		equ 4
OLECMDID_SAVECOPYAS	equ 5
OLECMDID_PRINT		equ 6
OLECMDID_PRINTPREVIEW	equ 7
OLECMDID_PAGESETUP	equ 8
OLECMDID_SPELL		equ 9
OLECMDID_PROPERTIES	equ 10
OLECMDID_CUT		equ 11
OLECMDID_COPY		equ 12
OLECMDID_PASTE		equ 13
OLECMDID_PASTESPECIAL	equ 14
OLECMDID_UNDO		equ 15
OLECMDID_REDO		equ 16
OLECMDID_SELECTALL	equ 17
OLECMDID_CLEARSELECTION equ 18
OLECMDID_ZOOM		equ 19
OLECMDID_GETZOOMRANGE	equ 20
OLECMDID_UPDATECOMMANDS equ 21
OLECMDID_REFRESH	equ 22
OLECMDID_STOP		equ 23
OLECMDID_HIDETOOLBARS	equ 24
OLECMDID_SETPROGRESSMAX equ 25
OLECMDID_SETPROGRESSPOS equ 26
OLECMDID_SETPROGRESSTEXT equ 27
OLECMDID_SETTITLE	equ 28
OLECMDID_SETDOWNLOADSTATE equ 29
OLECMDID_STOPDOWNLOAD	equ 30
OLECMDID_ONTOOLBARACTIVATED equ 31
OLECMDID_FIND		equ 32
OLECMDID_DELETE		equ 33
OLECMDID_HTTPEQUIV	equ 34
OLECMDID_HTTPEQUIV_DONE equ 35
OLECMDID_ENABLE_INTERACTION equ 36
OLECMDID_ONUNLOAD	equ 37
OLECMDID_PROPERTYBAG2	equ 38
OLECMDID_PREREFRESH	equ 39
OLECMDID_SHOWSCRIPTERROR equ 40
OLECMDID_SHOWMESSAGE	equ 41
OLECMDID_SHOWFIND	equ 42
OLECMDID_SHOWPAGESETUP	equ 43
OLECMDID_SHOWPRINT	equ 44
OLECMDID_CLOSE		equ 45
OLECMDID_ALLOWUILESSSAVEAS equ 46
OLECMDID_DONTDOWNLOADCSS equ 47
OLECMDID_UPDATEPAGESTATUS equ 48
OLECMDID_PRINT2		equ 49
OLECMDID_PRINTPREVIEW2	equ 50
OLECMDID_SETPRINTTEMPLATE equ 51
OLECMDID_GETPRINTTEMPLATE equ 52
OLECMDID_PAGEACTIONBLOCKED equ 55
OLECMDID_PAGEACTIONUIQUERY equ 56
OLECMDID_FOCUSVIEWCONTROLS equ 57
OLECMDID_FOCUSVIEWCONTROLSQUERY equ 58
OLECMDID_SHOWPAGEACTIONMENU equ 59
OLECMDID_ADDTRAVELENTRY equ 60
OLECMDID_UPDATETRAVELENTRY equ 61
OLECMDID_UPDATEBACKFORWARDSTATE equ 62
OLECMDID_OPTICAL_ZOOM	equ 63
OLECMDID_OPTICAL_GETZOOMRANGE equ 64
OLECMDID_WINDOWSTATECHANGED equ 65
OLECMDID_ACTIVEXINSTALLSCOPE equ 66
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY equ 67

OLECMDERR_E_FIRST	equ (OLE_E_LAST+1)
OLECMDERR_E_NOTSUPPORTED equ (OLECMDERR_E_FIRST)
OLECMDERR_E_DISABLED	equ (OLECMDERR_E_FIRST+1)
OLECMDERR_E_NOHELP	equ (OLECMDERR_E_FIRST+2)
OLECMDERR_E_CANCELED	equ (OLECMDERR_E_FIRST+3)
OLECMDERR_E_UNKNOWNGROUP equ (OLECMDERR_E_FIRST+4)
MSOCMDERR_E_FIRST	equ OLECMDERR_E_FIRST
MSOCMDERR_E_NOTSUPPORTED equ OLECMDERR_E_NOTSUPPORTED
MSOCMDERR_E_DISABLED	equ OLECMDERR_E_DISABED
MSOCMDERR_E_NOHELP	equ OLECMDERR_E_NOHEP
MSOCMDERR_E_CANCELED	equ OLECMDERR_E_CANCEED
MSOCMDERR_E_UNKNOWNGROUP equ OLECMDERR_E_UNKNOWNGROUP
if(NTDDI_VERSION GE NTDDI_WINXPSP2)
OLECMDARGINDEX_SHOWPAGEACTIONMENU_HWND equ 0
OLECMDARGINDEX_SHOWPAGEACTIONMENU_X equ 1
OLECMDARGINDEX_SHOWPAGEACTIONMENU_Y equ 2
OLECMDARGINDEX_ACTIVEXINSTALL_PUBLISHER equ 0
OLECMDARGINDEX_ACTIVEXINSTALL_DISPLAYNAME equ 1
OLECMDARGINDEX_ACTIVEXINSTALL_CLSID equ 2
OLECMDARGINDEX_ACTIVEXINSTALL_INSTALLSCOPE equ 3
INSTALL_SCOPE_INVALID	equ 0
INSTALL_SCOPE_MACHINE	equ 1
INSTALL_SCOPE_USER	equ 2
IGNOREMIME		typedef SDWORD
IGNOREMIME_PROMPT	equ 0x1
IGNOREMIME_TEXT		equ 0x2

WPCSETTING		typedef SDWORD
WPCSETTING_LOGGING_ENABLED equ 0x1
WPCSETTING_FILEDOWNLOAD_BLOCKED equ 0x2

endif

DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc, 0x00,0xaa,0x00,0x40,0x47,0x70)

.comdef IOleCommandTarget : public IUnknown

    QueryStatus		proc :ptr, :ULONG, :OLECMD, :ptr
    Exec		proc :ptr, :DWORD, :DWORD, :ptr, :ptr
   .ends
    LPOLECOMMANDTARGET	typedef ptr IOleCommandTarget

endif ; __IOleCommandTarget_INTERFACE_DEFINED__
endif ; _LPOLECOMMANDTARGET_DEFINED

OLECMDIDF_REFRESH_NORMAL equ 0
OLECMDIDF_REFRESH_IFEXPIRED equ 1
OLECMDIDF_REFRESH_CONTINUE equ 2
OLECMDIDF_REFRESH_COMPLETELY equ 3
OLECMDIDF_REFRESH_NO_CACHE equ 4
OLECMDIDF_REFRESH_RELOAD equ 5
OLECMDIDF_REFRESH_LEVELMASK equ 0x00FF
OLECMDIDF_REFRESH_CLEARUSERINPUT equ 0x1000
if(NTDDI_VERSION GT NTDDI_WINXPSP2)
OLECMDIDF_REFRESH_PROMPTIFOFFLINE equ 0x2000
OLECMDIDF_REFRESH_THROUGHSCRIPT equ 0x4000
OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL equ 0x00010000
OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD equ 0x00020000
OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE equ 0x00040000
OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW equ 0x00080000
OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE equ 0x00100000
OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED equ 0x00200000
OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET equ 0x00400000
OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET equ 0x00800000
OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED equ 0x01000000
elseif(NTDDI_VERSION GT NTDDI_WINXP)
OLECMDIDF_REFRESH_PROMPTIFOFFLINE equ 0x2000
OLECMDIDF_REFRESH_THROUGHSCRIPT equ 0x4000
else
OLECMDIDF_REFRESH_PROMPTIFOFFLINE equ 0x2000
endif
OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT equ 0x02000000
OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT equ 0x04000000
if(NTDDI_VERSION GE NTDDI_WINXPSP2)
OLECMDID_PAGEACTIONFLAG typedef SDWORD
OLECMDIDF_PAGEACTION_FILEDOWNLOAD equ 0x00000001
OLECMDIDF_PAGEACTION_ACTIVEXINSTALL equ 0x00000002
OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL equ 0x00000004
OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE equ 0x00000008
OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW equ 0x00000010
OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE equ 0x00000020
OLECMDIDF_PAGEACTION_POPUPWINDOW equ 0x00000040
OLECMDIDF_PAGEACTION_LOCALMACHINE equ 0x00000080
OLECMDIDF_PAGEACTION_MIMETEXTPLAIN equ 0x00000100
OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE equ 0x00000200
OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXINSTALL equ 0x00000200
OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE equ 0x00000400
OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED equ 0x00000800
OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET equ 0x00001000
OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET equ 0x00002000
OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED equ 0x00004000
OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY equ 0x00008000
OLECMDIDF_PAGEACTION_POPUPALLOWED equ 0x00010000
OLECMDIDF_PAGEACTION_SCRIPTPROMPT equ 0x00020000
OLECMDIDF_PAGEACTION_ACTIVEXUSERAPPROVAL equ 0x00040000
OLECMDIDF_PAGEACTION_MIXEDCONTENT equ 0x00080000
OLECMDIDF_PAGEACTION_INVALID_CERT equ 0x00100000
OLECMDIDF_PAGEACTION_INTRANETZONEREQUEST equ 0x00200000
OLECMDIDF_PAGEACTION_XSSFILTERED equ 0x00400000
OLECMDIDF_PAGEACTION_SPOOFABLEIDNHOST equ 0x00800000
OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXUSERAPPROVAL equ 0x02000000
OLECMDIDF_PAGEACTION_WPCBLOCKED equ 0x04000000
OLECMDIDF_PAGEACTION_WPCBLOCKED_ACTIVEX equ 0x08000000
OLECMDIDF_PAGEACTION_EXTENSION_COMPAT_BLOCKED equ 0x10000000
OLECMDIDF_PAGEACTION_NORESETACTIVEX equ 0x20000000
OLECMDIDF_PAGEACTION_GENERIC_STATE equ 0x40000000
OLECMDIDF_PAGEACTION_RESET equ 0x80000000
OLECMDID_BROWSERSTATEFLAG typedef SDWORD
OLECMDIDF_BROWSERSTATE_EXTENSIONSOFF equ 0x00000001
OLECMDIDF_BROWSERSTATE_IESECURITY equ 0x00000002
OLECMDIDF_BROWSERSTATE_PROTECTEDMODE_OFF equ 0x00000004
OLECMDIDF_BROWSERSTATE_RESET equ 0x00000008
OLECMDID_OPTICAL_ZOOMFLAG typedef SDWORD
OLECMDIDF_OPTICAL_ZOOM_NOPERSIST equ 0x00000001
PAGEACTION_UI		typedef SDWORD
PAGEACTION_UI_DEFAULT	equ 0
PAGEACTION_UI_MODAL	equ 1
PAGEACTION_UI_MODELESS	equ 2
PAGEACTION_UI_SILENT	equ 3
endif
OLECMDID_WINDOWSTATE_FLAG typedef SDWORD
OLECMDIDF_WINDOWSTATE_USERVISIBLE equ 0x00000001
OLECMDIDF_WINDOWSTATE_ENABLED equ 0x00000002
OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID equ 0x00010000
OLECMDIDF_WINDOWSTATE_ENABLED_VALID equ 0x00020000

IMsoDocument		equ <IOleDocument>
IMsoDocumentSite	equ <IOleDocumentSite>
IMsoView		equ <IOleDocumentView>
IEnumMsoView		equ <IEnumOleDocumentViews>
IMsoCommandTarget	equ <IOleCommandTarget>
LPMSODOCUMENT		equ <LPOLEDOCUMENT>
LPMSODOCUMENTSITE	equ <LPOLEDOCUMENTSITE>
LPMSOVIEW		equ <LPOLEDOCUMENTVIEW>
LPENUMMSOVIEW		equ <LPENUMOLEDOCUMENTVIEWS>
LPMSOCOMMANDTARGET	equ <LPOLECOMMANDTARGET>
MSOCMD			equ <OLECMD>
MSOCMDTEXT		equ <OLECMDTEXT>
IID_IMsoDocument	equ <IID_IOleDocument>
IID_IMsoDocumentSite	equ <IID_IOleDocumentSite>
IID_IMsoView		equ <IID_IOleDocumentView>
IID_IEnumMsoView	equ <IID_IEnumOleDocumentViews>
IID_IMsoCommandTarget	equ <IID_IOleCommandTarget>
MSOCMDF_SUPPORTED	equ <OLECMDF_SUPPORTED>
MSOCMDF_ENABLED		equ <OLECMDF_ENABED>
MSOCMDF_LATCHED		equ <OLECMDF_LATCHED>
MSOCMDF_NINCHED		equ <OLECMDF_NINCHED>
MSOCMDTEXTF_NONE	equ <OLECMDTEXTF_NONE>
MSOCMDTEXTF_NAME	equ <OLECMDTEXTF_NAME>
MSOCMDTEXTF_STATUS	equ <OLECMDTEXTF_STATUS>
MSOCMDEXECOPT_DODEFAULT equ <OLECMDEXECOPT_DODEFAULT>
MSOCMDEXECOPT_PROMPTUSER equ <OLECMDEXECOPT_PROMPTUSER>
MSOCMDEXECOPT_DONTPROMPTUSER equ <OLECMDEXECOPT_DONTPROMPTUSER>
MSOCMDEXECOPT_SHOWHELP	equ <OLECMDEXECOPT_SHOWHEP>
MSOCMDID_OPEN		equ <OLECMDID_OPEN>
MSOCMDID_NEW		equ <OLECMDID_NEW>
MSOCMDID_SAVE		equ <OLECMDID_SAVE>
MSOCMDID_SAVEAS		equ <OLECMDID_SAVEAS>
MSOCMDID_SAVECOPYAS	equ <OLECMDID_SAVECOPYAS>
MSOCMDID_PRINT		equ <OLECMDID_PRINT>
MSOCMDID_PRINTPREVIEW	equ <OLECMDID_PRINTPREVIEW>
MSOCMDID_PAGESETUP	equ <OLECMDID_PAGESETUP>
MSOCMDID_SPELL		equ <OLECMDID_SPELL>
MSOCMDID_PROPERTIES	equ <OLECMDID_PROPERTIES>
MSOCMDID_CUT		equ <OLECMDID_CUT>
MSOCMDID_COPY		equ <OLECMDID_COPY>
MSOCMDID_PASTE		equ <OLECMDID_PASTE>
MSOCMDID_PASTESPECIAL	equ <OLECMDID_PASTESPECIA>
MSOCMDID_UNDO		equ <OLECMDID_UNDO>
MSOCMDID_REDO		equ <OLECMDID_REDO>
MSOCMDID_SELECTALL	equ <OLECMDID_SELECTALL>
MSOCMDID_CLEARSELECTION equ <OLECMDID_CLEARSEECTION>
MSOCMDID_ZOOM		equ <OLECMDID_ZOOM>
MSOCMDID_GETZOOMRANGE	equ <OLECMDID_GETZOOMRANGE>
externdef		SID_SContainerDispatch:GUID

ifndef __IZoomEvents_INTERFACE_DEFINED__
define __IZoomEvents_INTERFACE_DEFINED__

DEFINE_IIDX(IZoomEvents, "41B68150-904C-4e17-A0BA-A438182E359D")

.comdef IZoomEvents : public IUnknown

    OnZoomPercentChanged proc :ULONG
   .ends

endif

ifndef __IProtectFocus_INTERFACE_DEFINED__
define __IProtectFocus_INTERFACE_DEFINED__

DEFINE_GUID(IID_IProtectFocus, 0xd81f90a3, 0x8156, 0x44f7, 0xad,0x28, 0x5a,0xbb,0x87,0x00,0x32,0x74)

.comdef IProtectFocus : public IUnknown

    AllowFocusChange	proc :ptr
   .ends

endif

SID_SProtectFocus	equ <IID_IProtectFocus>
ifndef _LPPROTECTEDMODEMENUSERVICES_DEFINED
define _LPPROTECTEDMODEMENUSERVICES_DEFINED

ifndef __IProtectedModeMenuServices_INTERFACE_DEFINED__
define __IProtectedModeMenuServices_INTERFACE_DEFINED__

DEFINE_IIDX(IProtectedModeMenuServices, "73c105ee-9dff-4a07-b83c-7eff290c266e")

.comdef IProtectedModeMenuServices : public IUnknown

    CreateMenu		proc :ptr
    LoadMenu		proc :LPCWSTR, :LPCWSTR, :ptr
    LoadMenuID		proc :LPCWSTR, :WORD, :ptr
   .ends

endif
endif

HMENU_UserSize proto WINAPI :ptr, :dword, :ptr
HMENU_UserMarshal proto WINAPI :ptr, :ptr, :ptr
HMENU_UserUnmarshal proto WINAPI :ptr, :ptr, :ptr
HMENU_UserFree proto WINAPI :ptr, :ptr

VARIANT_UserSize proto WINAPI :ptr, :dword, :ptr
VARIANT_UserMarshal proto WINAPI :ptr, :ptr, :ptr
VARIANT_UserUnmarshal proto WINAPI :ptr, :ptr, :ptr
VARIANT_UserFree proto WINAPI :ptr, :ptr

HMENU_UserSize64 proto WINAPI :ptr, :dword, :ptr
HMENU_UserMarshal64 proto WINAPI :ptr, :ptr, :ptr
HMENU_UserUnmarshal64 proto WINAPI :ptr, :ptr, :ptr
HMENU_UserFree64 proto WINAPI :ptr, :ptr

VARIANT_UserSize64 proto WINAPI :ptr, :dword, :ptr
VARIANT_UserMarshal64 proto WINAPI :ptr, :ptr, :ptr
VARIANT_UserUnmarshal64 proto WINAPI :ptr, :ptr, :ptr
VARIANT_UserFree64 proto WINAPI :ptr, :ptr

endif
.pragma list(pop)
