Changeset 7915 for trunk/include/win/wine/obj_control.h
- Timestamp:
- Feb 15, 2002, 3:46:04 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/obj_control.h
r1898 r7915 1 /* $Id: obj_control.h,v 1.7 1999-11-30 20:19:03 sandervl Exp $ */2 1 /* 3 2 * Defines the COM interfaces and APIs related to structured data storage. … … 9 8 #define __WINE_WINE_OBJ_CONTROL_H 10 9 11 12 #include "winbase.h" 13 #include "wine/obj_oleaut.h" /* for DISPID */ 10 struct tagMSG; 14 11 15 12 #ifdef __cplusplus … … 169 166 #define IOleControl_METHODS \ 170 167 ICOM_METHOD1(HRESULT,GetControlInfo, CONTROLINFO*,pCI) \ 171 ICOM_METHOD1(HRESULT,OnMnemonic, MSG*,pMsg) \168 ICOM_METHOD1(HRESULT,OnMnemonic, struct tagMSG*,pMsg) \ 172 169 ICOM_METHOD1(HRESULT,OnAmbientPropertyChange, DISPID,dispID) \ 173 170 ICOM_METHOD1(HRESULT,FreezeEvents, BOOL,bFreeze) … … 178 175 #undef ICOM_INTERFACE 179 176 180 #ifdef ICOM_CINTERFACE 181 /*** IUnknwon methods ***/ 177 /*** IUnknown methods ***/ 182 178 #define IOleControl_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 183 179 #define IOleControl_AddRef(p) ICOM_CALL (AddRef,p) … … 188 184 #define IOleControl_OnAmbientPropertyChange(p,a) ICOM_CALL1(OnAmbientPropertyChange,p,a) 189 185 #define IOleControl_FreezeEvents(p,a) ICOM_CALL1(FreezeEvents,p,a) 190 #endif191 186 192 187 … … 200 195 ICOM_METHOD1(HRESULT,GetExtendedControl, IDispatch**,ppDisp) \ 201 196 ICOM_METHOD3(HRESULT,TransformCoords, POINTL*,pPtlHimetric, POINTF*,pPtfContainer, DWORD,dwFlags) \ 202 ICOM_METHOD2(HRESULT,TranslateAccelerator, MSG*,pMsg, DWORD,grfModifiers) \197 ICOM_METHOD2(HRESULT,TranslateAccelerator, struct tagMSG*,pMsg, DWORD,grfModifiers) \ 203 198 ICOM_METHOD1(HRESULT,OnFocus, BOOL,fGotFocus) \ 204 199 ICOM_METHOD (HRESULT,ShowPropertyFrame) … … 209 204 #undef ICOM_INTERFACE 210 205 211 #ifdef ICOM_CINTERFACE 212 /*** IUnknwon methods ***/ 206 /*** IUnknown methods ***/ 213 207 #define IOleControlSite_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 214 208 #define IOleControlSite_AddRef(p) ICOM_CALL (AddRef,p) … … 222 216 #define IOleControlSite_OnFocus(p,a) ICOM_CALL1(OnFocus,p,a) 223 217 #define IOleControlSite_ShowPropertyFrame(p) ICOM_CALL1(ShowPropertyFrame,p) 224 #endif225 218 226 219 … … 239 232 #undef ICOM_INTERFACE 240 233 241 #ifdef ICOM_CINTERFACE242 234 /*** IUnknown methods ***/ 243 235 #define IOleInPlaceSiteEx_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 262 254 #define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(p,a) ICOM_CALL1(OnInPlaceDeactivateEx,p,a) 263 255 #define IOleInPlaceSiteEx_RequestUIActivate(p) ICOM_CALL (RequestUIActivate,p) 264 #endif265 256 266 257 … … 288 279 #undef ICOM_INTERFACE 289 280 290 #ifdef ICOM_CINTERFACE291 281 /*** IUnknown methods ***/ 292 282 #define IOleInPlaceSiteWindowless_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 320 310 #define IOleInPlaceSiteWindowless_AdjustRect(p,a) ICOM_CALL1(OnPosRectChange,p,a) 321 311 #define IOleInPlaceSiteWindowless_OnDefWindowMessage(p,a,b,c,d) ICOM_CALL4(OnPosRectChange,p,a,b,c,d) 322 #endif323 312 324 313 … … 336 325 #undef ICOM_INTERFACE 337 326 338 #ifdef ICOM_CINTERFACE339 327 /*** IUnknown methods ***/ 340 328 #define IOleInPlaceObjectWindowless_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 352 340 #define IOleInPlaceObjectWindowless_OnWindowMessage(p,a,b,c,d) ICOM_CALL4(OnWindowMessage,p,a,b,c,d) 353 341 #define IOleInPlaceObjectWindowless_GetDropTarget(p,a) ICOM_CALL1(GetDropTarget,p,a) 354 #endif355 342 356 343 … … 369 356 #undef ICOM_INTERFACE 370 357 371 #ifdef ICOM_CINTERFACE 372 /*** IUnknwon methods ***/ 358 /*** IUnknown methods ***/ 373 359 #define IClassFactory2_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 374 360 #define IClassFactory2_AddRef(p) ICOM_CALL (AddRef,p) … … 381 367 #define IClassFactory2_RequestLicKey(p,a,b) ICOM_CALL2(RequestLicKey,p,a,b) 382 368 #define IClassFactory2_CreateInstanceLic(p,a,b,c,d,e) ICOM_CALL5(CreateInstanceLic,p,a,b,c,d,e) 383 #endif384 369 385 370 … … 400 385 #undef ICOM_INTERFACE 401 386 402 #ifdef ICOM_CINTERFACE 403 /*** IUnknwon methods ***/ 387 /*** IUnknown methods ***/ 404 388 #define IViewObjectEx_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 405 389 #define IViewObjectEx_AddRef(p) ICOM_CALL (AddRef,p) … … 420 404 #define IViewObjectEx_QueryHitRect(p,a,b,c,d,e) ICOM_CALL5(QueryHitRect,p,a,b,c,d,e) 421 405 #define IViewObjectEx_GetNaturalExtent(p,a,b,c,d,e,f) ICOM_CALL6(GetNaturalExtent,p,a,b,c,d,e,f) 406 407 408 /***************************************************************************** 409 * IProvideClassInfo interface 410 */ 411 #ifdef __WINE__ 412 #undef GetClassInfo 422 413 #endif 423 414 424 425 /*****************************************************************************426 * IProvideClassInfo interface427 */428 415 #define ICOM_INTERFACE IProvideClassInfo 429 416 #define IProvideClassInfo_METHODS \ … … 435 422 #undef ICOM_INTERFACE 436 423 437 #ifdef ICOM_CINTERFACE 438 /*** IUnknwon methods ***/ 424 /*** IUnknown methods ***/ 439 425 #define IProvideClassInfo_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 440 426 #define IProvideClassInfo_AddRef(p) ICOM_CALL (AddRef,p) … … 442 428 /*** IProvideClassInfo methods ***/ 443 429 #define IProvideClassInfo_GetClassInfo(p,a) ICOM_CALL1(GetClassInfo,p,a) 444 #endif445 430 446 431 … … 458 443 #undef ICOM_INTERFACE 459 444 460 #ifdef ICOM_CINTERFACE 461 /*** IUnknwon methods ***/ 445 /*** IUnknown methods ***/ 462 446 #define IProvideClassInfo2_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 463 447 #define IProvideClassInfo2_AddRef(p) ICOM_CALL (AddRef,p) … … 467 451 /*** IProvideClassInfo2 methods ***/ 468 452 #define IProvideClassInfo2_GetGUID(p,a,b) ICOM_CALL2(GetGUID,p,a,b) 469 #endif470 453 471 454 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.