| 1 | /* $Id: docobj.h,v 1.1 1999-05-24 20:19:11 ktk Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | #ifndef __WINE_DOCOBJ_H | 
|---|
| 4 | #define __WINE_DOCOBJ_H | 
|---|
| 5 |  | 
|---|
| 6 | #include "winbase.h" | 
|---|
| 7 | #include "winuser.h" | 
|---|
| 8 | #include "ole2.h" | 
|---|
| 9 | #include "wine/obj_oleaut.h" | 
|---|
| 10 |  | 
|---|
| 11 | /***************************************************************************** | 
|---|
| 12 | * Declare the structures | 
|---|
| 13 | */ | 
|---|
| 14 | typedef enum | 
|---|
| 15 | { | 
|---|
| 16 | OLECMDF_SUPPORTED = 0x1, | 
|---|
| 17 | OLECMDF_ENABLED = 0x2, | 
|---|
| 18 | OLECMDF_LATCHED = 0x4, | 
|---|
| 19 | OLECMDF_NINCHED = 0x8 | 
|---|
| 20 | } OLECMDF; | 
|---|
| 21 |  | 
|---|
| 22 | typedef struct _tagOLECMD | 
|---|
| 23 | { | 
|---|
| 24 | ULONG cmdID; | 
|---|
| 25 | DWORD cmdf; | 
|---|
| 26 | } OLECMD; | 
|---|
| 27 |  | 
|---|
| 28 | typedef struct _tagOLECMDTEXT | 
|---|
| 29 | { | 
|---|
| 30 | DWORD cmdtextf; | 
|---|
| 31 | ULONG cwActual; | 
|---|
| 32 | ULONG cwBuf; | 
|---|
| 33 | WCHAR rgwz[1]; | 
|---|
| 34 | } OLECMDTEXT; | 
|---|
| 35 |  | 
|---|
| 36 | typedef enum | 
|---|
| 37 | { | 
|---|
| 38 | PRINTFLAG_MAYBOTHERUSER = 1, | 
|---|
| 39 | PRINTFLAG_PROMPTUSER  = 2, | 
|---|
| 40 | PRINTFLAG_USERMAYCHANGEPRINTER  = 4, | 
|---|
| 41 | PRINTFLAG_RECOMPOSETODEVICE = 8, | 
|---|
| 42 | PRINTFLAG_DONTACTUALLYPRINT = 16, | 
|---|
| 43 | PRINTFLAG_FORCEPROPERTIES = 32, | 
|---|
| 44 | PRINTFLAG_PRINTTOFILE = 64 | 
|---|
| 45 | } PRINTFLAG; | 
|---|
| 46 |  | 
|---|
| 47 | typedef struct tagPAGERANGE | 
|---|
| 48 | { | 
|---|
| 49 | LONG nFromPage; | 
|---|
| 50 | LONG nToPage; | 
|---|
| 51 | } PAGERANGE; | 
|---|
| 52 |  | 
|---|
| 53 | typedef struct  tagPAGESET | 
|---|
| 54 | { | 
|---|
| 55 | ULONG cbStruct; | 
|---|
| 56 | BOOL fOddPages; | 
|---|
| 57 | BOOL fEvenPages; | 
|---|
| 58 | ULONG cPageRange; | 
|---|
| 59 | PAGERANGE rgPages[ 1 ]; | 
|---|
| 60 | } PAGESET; | 
|---|
| 61 |  | 
|---|
| 62 | typedef enum | 
|---|
| 63 | { | 
|---|
| 64 | OLECMDTEXTF_NONE  = 0, | 
|---|
| 65 | OLECMDTEXTF_NAME  = 1, | 
|---|
| 66 | OLECMDTEXTF_STATUS  = 2 | 
|---|
| 67 | } OLECMDTEXTF; | 
|---|
| 68 |  | 
|---|
| 69 | typedef enum | 
|---|
| 70 | { | 
|---|
| 71 | OLECMDEXECOPT_DODEFAULT = 0, | 
|---|
| 72 | OLECMDEXECOPT_PROMPTUSER  = 1, | 
|---|
| 73 | OLECMDEXECOPT_DONTPROMPTUSER  = 2, | 
|---|
| 74 | OLECMDEXECOPT_SHOWHELP  = 3 | 
|---|
| 75 | } OLECMDEXECOPT; | 
|---|
| 76 |  | 
|---|
| 77 | #define OLECMDERR_E_FIRST            (OLE_E_LAST+1) | 
|---|
| 78 | #define OLECMDERR_E_NOTSUPPORTED     (OLECMDERR_E_FIRST) | 
|---|
| 79 | #define OLECMDERR_E_DISABLED         (OLECMDERR_E_FIRST+1) | 
|---|
| 80 | #define OLECMDERR_E_NOHELP           (OLECMDERR_E_FIRST+2) | 
|---|
| 81 | #define OLECMDERR_E_CANCELED         (OLECMDERR_E_FIRST+3) | 
|---|
| 82 | #define OLECMDERR_E_UNKNOWNGROUP     (OLECMDERR_E_FIRST+4) | 
|---|
| 83 |  | 
|---|
| 84 | /***************************************************************************** | 
|---|
| 85 | * Predeclare the interfaces | 
|---|
| 86 | */ | 
|---|
| 87 | DEFINE_GUID(IID_IOleDocument, 0xb722bcc5,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 88 | typedef struct IOleDocument IOleDocument, *LPOLEDOCUMENT; | 
|---|
| 89 |  | 
|---|
| 90 | DEFINE_GUID(IID_IOleDocumentSite, 0xb722bcc7,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 91 | typedef struct IOleDocumentSite IOleDocumentSite, *LPOLEDOCUMENTSITE; | 
|---|
| 92 |  | 
|---|
| 93 | DEFINE_GUID(IID_IOleDocumentView, 0xb722bcc6,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 94 | typedef struct IOleDocumentView IOleDocumentView, *LPOLEDOCUMENTVIEW; | 
|---|
| 95 |  | 
|---|
| 96 | DEFINE_GUID(IID_IEnumOleDocumentViews, 0xb722bcc6,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 97 | typedef struct IEnumOleDocumentViews IEnumOleDocumentViews, *LPENUMOLEDOCUMENTVIEWS; | 
|---|
| 98 |  | 
|---|
| 99 | DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 100 | typedef struct IOleCommandTarget IOleCommandTarget, *LPOLECOMMANDTARGET; | 
|---|
| 101 |  | 
|---|
| 102 | DEFINE_GUID(IID_IContinueCallback, 0xb722bcca,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 103 | typedef struct IContinueCallback IContinueCallback, *LPCONTINUECALLBACK; | 
|---|
| 104 |  | 
|---|
| 105 | DEFINE_GUID(IID_IPrint, 0xb722bcc9,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); | 
|---|
| 106 | typedef struct IPrint IPrint, *LPPRINT; | 
|---|
| 107 |  | 
|---|
| 108 |  | 
|---|
| 109 | /***************************************************************************** | 
|---|
| 110 | * IOleDocument interface | 
|---|
| 111 | */ | 
|---|
| 112 | #define ICOM_INTERFACE IOleDocument | 
|---|
| 113 | #define IOleDocument_METHODS \ | 
|---|
| 114 | ICOM_METHOD4(HRESULT,CreateView, IOleInPlaceSite*,pIPSite, IStream*,pstm, DWORD,dwReserved, IOleDocumentView**,ppView) \ | 
|---|
| 115 | ICOM_METHOD1(HRESULT,GetDocMiscStatus, DWORD*,pdwStatus) \ | 
|---|
| 116 | ICOM_METHOD2(HRESULT,EnumViews, IEnumOleDocumentViews**,ppEnum, IOleDocumentView**,ppView) | 
|---|
| 117 | #define IOleDocument_IMETHODS \ | 
|---|
| 118 | IUnknown_IMETHODS \ | 
|---|
| 119 | IOleDocument_METHODS | 
|---|
| 120 | ICOM_DEFINE(IOleDocument,IUnknown) | 
|---|
| 121 | #undef ICOM_INTERFACE | 
|---|
| 122 |  | 
|---|
| 123 | #ifdef ICOM_CINTERFACE | 
|---|
| 124 | /*** IUnknown methods ***/ | 
|---|
| 125 | #define IOleDocument_QueryInterface(p,a,b)      ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 126 | #define IOleDocument_AddRef(p)                  ICOM_CALL (AddRef,p) | 
|---|
| 127 | #define IOleDocument_Release(p)                 ICOM_CALL (Release,p) | 
|---|
| 128 | /*** IOleDocument methods ***/ | 
|---|
| 129 | #define IOleDocument_CreateView(p,a,b,c,d)      ICOM_CALL4(CreateView,p,a,b,c,d) | 
|---|
| 130 | #define IOleDocument_GetDocMiscStatus(p,a)      ICOM_CALL1(GetDocMiscStatus,p,a) | 
|---|
| 131 | #define IOleDocument_EnumViews(p,a,b)           ICOM_CALL2(EnumViews,p,a,b) | 
|---|
| 132 | #endif | 
|---|
| 133 |  | 
|---|
| 134 |  | 
|---|
| 135 | /***************************************************************************** | 
|---|
| 136 | * IOleDocumentSite interface | 
|---|
| 137 | */ | 
|---|
| 138 | #define ICOM_INTERFACE IOleDocumentSite | 
|---|
| 139 | #define IOleDocumentSite_METHODS \ | 
|---|
| 140 | ICOM_METHOD1(HRESULT,ActivateMe, IOleDocumentView*,pViewToActivate) | 
|---|
| 141 | #define IOleDocumentSite_IMETHODS \ | 
|---|
| 142 | IUnknown_IMETHODS \ | 
|---|
| 143 | IOleDocumentSite_METHODS | 
|---|
| 144 | ICOM_DEFINE(IOleDocumentSite,IUnknown) | 
|---|
| 145 | #undef ICOM_INTERFACE | 
|---|
| 146 |  | 
|---|
| 147 | #ifdef ICOM_CINTERFACE | 
|---|
| 148 | /*** IUnknown methods ***/ | 
|---|
| 149 | #define IOleDocumentSite_QueryInterface(p,a,b)      ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 150 | #define IOleDocumentSite_AddRef(p)                  ICOM_CALL (AddRef,p) | 
|---|
| 151 | #define IOleDocumentSite_Release(p)                 ICOM_CALL (Release,p) | 
|---|
| 152 | /*** IOleDocumentSite methods ***/ | 
|---|
| 153 | #define IOleDocumentSite_ActivateMe(p,a)            ICOM_CALL4(ActivateMe,p,a) | 
|---|
| 154 | #endif | 
|---|
| 155 |  | 
|---|
| 156 |  | 
|---|
| 157 | /***************************************************************************** | 
|---|
| 158 | * IOleDocumentSite interface | 
|---|
| 159 | */ | 
|---|
| 160 | #define ICOM_INTERFACE IOleDocumentView | 
|---|
| 161 | #define IOleDocumentView_METHODS \ | 
|---|
| 162 | ICOM_METHOD1(HRESULT,SetInPlaceSite, IOleInPlaceSite*,pIPSite) \ | 
|---|
| 163 | ICOM_METHOD1(HRESULT,GetInPlaceSite, IOleInPlaceSite**,ppIPSite) \ | 
|---|
| 164 | ICOM_METHOD1(HRESULT,GetDocument, IUnknown**,ppunk) \ | 
|---|
| 165 | ICOM_METHOD1(HRESULT,SetRect, LPRECT,prcView) \ | 
|---|
| 166 | ICOM_METHOD1(HRESULT,GetRect, LPRECT,prcView) \ | 
|---|
| 167 | ICOM_METHOD4(HRESULT,GetRectComplex, LPRECT,prcView, LPRECT,prcHScroll, LPRECT,prcVScroll, LPRECT,prcSizeBox) \ | 
|---|
| 168 | ICOM_METHOD1(HRESULT,Show, BOOL,fShow) \ | 
|---|
| 169 | ICOM_METHOD1(HRESULT,UIActivate, BOOL,fUIActivate) \ | 
|---|
| 170 | ICOM_METHOD (HRESULT,Open) \ | 
|---|
| 171 | ICOM_METHOD1(HRESULT,CloseView, DWORD,dwReserved) \ | 
|---|
| 172 | ICOM_METHOD1(HRESULT,SaveViewState, LPSTREAM,pstm) \ | 
|---|
| 173 | ICOM_METHOD1(HRESULT,ApplyViewState,LPSTREAM,pstm) \ | 
|---|
| 174 | ICOM_METHOD2(HRESULT,Clone, IOleInPlaceSite*,pIPSiteNew, IOleDocumentView**,ppViewNew) | 
|---|
| 175 | #define IOleDocumentView_IMETHODS \ | 
|---|
| 176 | IUnknown_IMETHODS \ | 
|---|
| 177 | IOleDocumentView_METHODS | 
|---|
| 178 | ICOM_DEFINE(IOleDocumentView,IUnknown) | 
|---|
| 179 | #undef ICOM_INTERFACE | 
|---|
| 180 |  | 
|---|
| 181 | #ifdef ICOM_CINTERFACE | 
|---|
| 182 | /*** IUnknown methods ***/ | 
|---|
| 183 | #define IOleDocumentView_QueryInterface(p,a,b)      ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 184 | #define IOleDocumentView_AddRef(p)                  ICOM_CALL (AddRef,p) | 
|---|
| 185 | #define IOleDocumentView_Release(p)                 ICOM_CALL (Release,p) | 
|---|
| 186 | /*** IOleDocumentView methods ***/ | 
|---|
| 187 | #define IOleDocumentView_SetInPlaceSite(p,a)        ICOM_CALL1(SetInPlaceSite,p,a) | 
|---|
| 188 | #define IOleDocumentView_GetInPlaceSite(p,a)        ICOM_CALL1(GetInPlaceSite,p,a) | 
|---|
| 189 | #define IOleDocumentView_GetDocument(p,a)           ICOM_CALL1(GetDocument,p,a) | 
|---|
| 190 | #define IOleDocumentView_SetRect(p,a)               ICOM_CALL1(SetRect,p,a) | 
|---|
| 191 | #define IOleDocumentView_GetRect(p,a)               ICOM_CALL1(GetRect,p,a) | 
|---|
| 192 | #define IOleDocumentView_GetRectComplex(p,a,b,c,d)  ICOM_CALL4(GetRectComplex,p,a,b,c,d) | 
|---|
| 193 | #define IOleDocumentView_Show(p,a)                  ICOM_CALL1(Show,p,a) | 
|---|
| 194 | #define IOleDocumentView_UIActivate(p,a)            ICOM_CALL1(UIActivate,p,a) | 
|---|
| 195 | #define IOleDocumentView_Open(p)                    ICOM_CALL (Open,p) | 
|---|
| 196 | #define IOleDocumentView_CloseView(p,a)             ICOM_CALL1(CloseView,p,a) | 
|---|
| 197 | #define IOleDocumentView_SaveViewState(p,a)         ICOM_CALL1(SaveViewState,p,a) | 
|---|
| 198 | #define IOleDocumentView_ApplyViewState(p,a)        ICOM_CALL1(ApplyViewState,p,a) | 
|---|
| 199 | #define IOleDocumentView_Clone(p,a,b)               ICOM_CALL2(Clone,p,a,b) | 
|---|
| 200 | #endif | 
|---|
| 201 |  | 
|---|
| 202 |  | 
|---|
| 203 | /***************************************************************************** | 
|---|
| 204 | * IOleDocumentSite interface | 
|---|
| 205 | */ | 
|---|
| 206 | #define ICOM_INTERFACE IEnumOleDocumentViews | 
|---|
| 207 | #define IEnumOleDocumentViews_METHODS \ | 
|---|
| 208 | ICOM_METHOD3(HRESULT,Next, ULONG,cViews, IOleDocumentView**,rgpView, ULONG*,pcFetched) \ | 
|---|
| 209 | ICOM_METHOD1(HRESULT,Skip, ULONG,cViews) \ | 
|---|
| 210 | ICOM_METHOD (HRESULT,Reset) \ | 
|---|
| 211 | ICOM_METHOD1(HRESULT,Clone, IEnumOleDocumentViews**,ppEnum) | 
|---|
| 212 | #define IEnumOleDocumentViews_IMETHODS \ | 
|---|
| 213 | IUnknown_IMETHODS \ | 
|---|
| 214 | IEnumOleDocumentViews_METHODS | 
|---|
| 215 | ICOM_DEFINE(IEnumOleDocumentViews,IUnknown) | 
|---|
| 216 | #undef ICOM_INTERFACE | 
|---|
| 217 |  | 
|---|
| 218 | #ifdef ICOM_CINTERFACE | 
|---|
| 219 | /*** IUnknown methods ***/ | 
|---|
| 220 | #define IEnumOleDocumentViews_QueryInterface(p,a,b)   ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 221 | #define IEnumOleDocumentViews_AddRef(p)               ICOM_CALL (AddRef,p) | 
|---|
| 222 | #define IEnumOleDocumentViews_Release(p)              ICOM_CALL (Release,p) | 
|---|
| 223 | /*** IEnumOleDocumentViews methods ***/ | 
|---|
| 224 | #define IEnumOleDocumentViews_Next(p,a,b,c)           ICOM_CALL3(Next,p,a,b,c) | 
|---|
| 225 | #define IEnumOleDocumentViews_Skip(p,a)               ICOM_CALL1(Skip,p,a) | 
|---|
| 226 | #define IEnumOleDocumentViews_Reset(p)                ICOM_CALL (Reset,p) | 
|---|
| 227 | #define IEnumOleDocumentViews_Clone(p,a)              ICOM_CALL1(Clone,p,a) | 
|---|
| 228 | #endif | 
|---|
| 229 |  | 
|---|
| 230 |  | 
|---|
| 231 | /***************************************************************************** | 
|---|
| 232 | * IOleCommandTarget interface | 
|---|
| 233 | */ | 
|---|
| 234 | #define ICOM_INTERFACE IOleCommandTarget | 
|---|
| 235 | #define IOleCommandTarget_METHODS \ | 
|---|
| 236 | ICOM_METHOD4(HRESULT,QueryStatus, const GUID*,pguidCmdGroup, ULONG,cCmds, OLECMD*,prgCmds[1], OLECMDTEXT*,pCmdText) \ | 
|---|
| 237 | ICOM_METHOD5(HRESULT,Exec, const GUID*,pguidCmdGroup, DWORD,nCmdID, DWORD,nCmdexecopt, VARIANT*,pvaIn, VARIANT*,pvaOut) | 
|---|
| 238 | #define IOleCommandTarget_IMETHODS \ | 
|---|
| 239 | IUnknown_IMETHODS \ | 
|---|
| 240 | IOleCommandTarget_METHODS | 
|---|
| 241 | ICOM_DEFINE(IOleCommandTarget,IUnknown) | 
|---|
| 242 | #undef ICOM_INTERFACE | 
|---|
| 243 |  | 
|---|
| 244 | #ifdef ICOM_CINTERFACE | 
|---|
| 245 | /*** IUnknown methods ***/ | 
|---|
| 246 | #define IOleCommandTarget_QueryInterface(p,a,b)   ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 247 | #define IOleCommandTarget_AddRef(p)               ICOM_CALL (AddRef,p) | 
|---|
| 248 | #define IOleCommandTarget_Release(p)              ICOM_CALL (Release,p) | 
|---|
| 249 | /*** IOleCommandTarget methods ***/ | 
|---|
| 250 | #define IOleCommandTarget_QueryStatus(p,a,b,c,d)  ICOM_CALL4(QueryStatus,p,a,b,c,d) | 
|---|
| 251 | #define IOleCommandTarget_Exec(p,a,b,c,d,e)       ICOM_CALL5(Exec,p,a,b,c,d,e) | 
|---|
| 252 | #endif | 
|---|
| 253 |  | 
|---|
| 254 |  | 
|---|
| 255 | /***************************************************************************** | 
|---|
| 256 | * IContinueCallback interface | 
|---|
| 257 | */ | 
|---|
| 258 | #define ICOM_INTERFACE IContinueCallback | 
|---|
| 259 | #define IContinueCallback_METHODS \ | 
|---|
| 260 | ICOM_METHOD (HRESULT,FContinue) \ | 
|---|
| 261 | ICOM_METHOD3(HRESULT,FContinuePrinting, LONG,nCntPrinted, LONG,nCurPage, WCHAR*,pwszPrintStatus) | 
|---|
| 262 | #define IContinueCallback_IMETHODS \ | 
|---|
| 263 | IUnknown_IMETHODS \ | 
|---|
| 264 | IContinueCallback_METHODS | 
|---|
| 265 | ICOM_DEFINE(IContinueCallback,IUnknown) | 
|---|
| 266 | #undef ICOM_INTERFACE | 
|---|
| 267 |  | 
|---|
| 268 | #ifdef ICOM_CINTERFACE | 
|---|
| 269 | /*** IUnknown methods ***/ | 
|---|
| 270 | #define IContinueCallback_QueryInterface(p,a,b)   ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 271 | #define IContinueCallback_AddRef(p)               ICOM_CALL (AddRef,p) | 
|---|
| 272 | #define IContinueCallback_Release(p)              ICOM_CALL (Release,p) | 
|---|
| 273 | /*** IContinueCallback methods ***/ | 
|---|
| 274 | #define IContinueCallback_FContinue(p)               ICOM_CALL (FContinue,p) | 
|---|
| 275 | #define IContinueCallback_FContinuePrinting(p,a,b,c) ICOM_CALL3(FContinuePrinting,p,a,b,c) | 
|---|
| 276 | #endif | 
|---|
| 277 |  | 
|---|
| 278 |  | 
|---|
| 279 | /***************************************************************************** | 
|---|
| 280 | * IPrint interface | 
|---|
| 281 | */ | 
|---|
| 282 | #define ICOM_INTERFACE IPrint | 
|---|
| 283 | #define IPrint_METHODS \ | 
|---|
| 284 | ICOM_METHOD1(HRESULT,SetInitialPageNum, LONG,nFirstPage) \ | 
|---|
| 285 | ICOM_METHOD2(HRESULT,GetPageInfo, LONG*,pnFirstPage, LONG*,pcPages) \ | 
|---|
| 286 | ICOM_METHOD8(HRESULT,Print, DWORD,grfFlags, DVTARGETDEVICE**,pptd, PAGESET**,ppPageSet, STGMEDIUM*,pstgmOptions, IContinueCallback*,pcallback, LONG,nFirstPage, LONG*,pcPagesPrinted, LONG*,pnLastPage) | 
|---|
| 287 | #define IPrint_IMETHODS \ | 
|---|
| 288 | IUnknown_IMETHODS \ | 
|---|
| 289 | IPrint_METHODS | 
|---|
| 290 | ICOM_DEFINE(IPrint,IUnknown) | 
|---|
| 291 | #undef ICOM_INTERFACE | 
|---|
| 292 |  | 
|---|
| 293 | #ifdef ICOM_CINTERFACE | 
|---|
| 294 | /*** IUnknown methods ***/ | 
|---|
| 295 | #define IPrint_QueryInterface(p,a,b)   ICOM_CALL2(QueryInterface,p,a,b) | 
|---|
| 296 | #define IPrint_AddRef(p)               ICOM_CALL (AddRef,p) | 
|---|
| 297 | #define IPrint_Release(p)              ICOM_CALL (Release,p) | 
|---|
| 298 | /*** Iprint methods ***/ | 
|---|
| 299 | #define IPrint_SetInitialPageNum(p,a)  ICOM_CALL1(SetInitialPageNum,p,a) | 
|---|
| 300 | #define IPrint_GetPageInfo(p,a,b)      ICOM_CALL2(GetPageInfo,p,a,b) | 
|---|
| 301 | #define IPrint_Print(p,a,b,c,d,e,f,g)  ICOM_CALL7(Print,p,a,b,c,d,e,f,g) | 
|---|
| 302 | #endif | 
|---|
| 303 |  | 
|---|
| 304 |  | 
|---|
| 305 | #define LPMSODOCUMENT                  LPOLEDOCUMENT | 
|---|
| 306 | #define LPMSODOCUMENTSITE              LPOLEDOCUMENTSITE | 
|---|
| 307 | #define LPMSOVIEW                      LPOLEDOCUMENTVIEW | 
|---|
| 308 | #define LPENUMMSOVIEW                  LPENUMOLEDOCUMENTVIEWS | 
|---|
| 309 | #define LPMSOCOMMANDTARGET             LPOLECOMMANDTARGET | 
|---|
| 310 | #define IID_IMsoDocument               IID_IOleDocument | 
|---|
| 311 | #define IID_IMsoDocumentSite           IID_IOleDocumentSite | 
|---|
| 312 | #define IID_IMsoView                   IID_IOleDocumentView | 
|---|
| 313 | #define IID_IEnumMsoView               IID_IEnumOleDocumentViews | 
|---|
| 314 | #define IID_IMsoCommandTarget          IID_IOleCommandTarget | 
|---|
| 315 |  | 
|---|
| 316 |  | 
|---|
| 317 | #endif /* __WINE_DOCOBJ_H */ | 
|---|