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