/usr/include/wine/windows/uiribbon.h is in libwine-dev 3.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 | /*** Autogenerated by WIDL 3.0 from uiribbon.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __uiribbon_h__
#define __uiribbon_h__
/* Forward declarations */
#ifndef __IUISimplePropertySet_FWD_DEFINED__
#define __IUISimplePropertySet_FWD_DEFINED__
typedef interface IUISimplePropertySet IUISimplePropertySet;
#ifdef __cplusplus
interface IUISimplePropertySet;
#endif /* __cplusplus */
#endif
#ifndef __IUICommandHandler_FWD_DEFINED__
#define __IUICommandHandler_FWD_DEFINED__
typedef interface IUICommandHandler IUICommandHandler;
#ifdef __cplusplus
interface IUICommandHandler;
#endif /* __cplusplus */
#endif
#ifndef __IUIApplication_FWD_DEFINED__
#define __IUIApplication_FWD_DEFINED__
typedef interface IUIApplication IUIApplication;
#ifdef __cplusplus
interface IUIApplication;
#endif /* __cplusplus */
#endif
#ifndef __IUIFramework_FWD_DEFINED__
#define __IUIFramework_FWD_DEFINED__
typedef interface IUIFramework IUIFramework;
#ifdef __cplusplus
interface IUIFramework;
#endif /* __cplusplus */
#endif
#ifndef __UIRibbonFramework_FWD_DEFINED__
#define __UIRibbonFramework_FWD_DEFINED__
#ifdef __cplusplus
typedef class UIRibbonFramework UIRibbonFramework;
#else
typedef struct UIRibbonFramework UIRibbonFramework;
#endif /* defined __cplusplus */
#endif /* defined __UIRibbonFramework_FWD_DEFINED__ */
/* Headers for imported files */
#include <propsys.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum UI_INVALIDATIONS {
UI_INVALIDATIONS_STATE = 0x1,
UI_INVALIDATIONS_VALUE = 0x2,
UI_INVALIDATIONS_PROPERTY = 0x4,
UI_INVALIDATIONS_ALLPROPERTIES = 0x8
} UI_INVALIDATIONS;
typedef enum UI_EXECUTIONVERB {
UI_EXECUTIONVERB_EXECUTE = 0,
UI_EXECUTIONVERB_PREVIEW = 1,
UI_EXECUTIONVERB_CANCELPREVIEW = 2
} UI_EXECUTIONVERB;
typedef enum UI_VIEWTYPE {
UI_VIEWTYPE_RIBBON = 1
} UI_VIEWTYPE;
typedef enum UI_VIEWVERB {
UI_VIEWVERB_CREATE = 0,
UI_VIEWVERB_DESTROY = 1,
UI_VIEWVERB_SIZE = 2,
UI_VIEWVERB_ERROR = 3
} UI_VIEWVERB;
typedef enum UI_COMMANDTYPE {
UI_COMMANDTYPE_UNKNOWN = 0,
UI_COMMANDTYPE_GROUP = 1,
UI_COMMANDTYPE_ACTION = 2,
UI_COMMANDTYPE_ANCHOR = 3,
UI_COMMANDTYPE_CONTEXT = 4,
UI_COMMANDTYPE_COLLECTION = 5,
UI_COMMANDTYPE_COMMANDCOLLECTION = 6,
UI_COMMANDTYPE_DECIMAL = 7,
UI_COMMANDTYPE_BOOLEAN = 8,
UI_COMMANDTYPE_FONT = 9,
UI_COMMANDTYPE_RECENTITEMS = 10,
UI_COMMANDTYPE_COLORANCHOR = 11,
UI_COMMANDTYPE_COLORCOLLECTION = 12
} UI_COMMANDTYPE;
/*****************************************************************************
* IUISimplePropertySet interface
*/
#ifndef __IUISimplePropertySet_INTERFACE_DEFINED__
#define __IUISimplePropertySet_INTERFACE_DEFINED__
DEFINE_GUID(IID_IUISimplePropertySet, 0xc205bb48, 0x5b1c, 0x4219, 0xa1,0x06, 0x15,0xbd,0x0a,0x5f,0x24,0xe2);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c205bb48-5b1c-4219-a106-15bd0a5f24e2")
IUISimplePropertySet : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetValue(
REFPROPERTYKEY key,
PROPVARIANT *value) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IUISimplePropertySet, 0xc205bb48, 0x5b1c, 0x4219, 0xa1,0x06, 0x15,0xbd,0x0a,0x5f,0x24,0xe2)
#endif
#else
typedef struct IUISimplePropertySetVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IUISimplePropertySet *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IUISimplePropertySet *This);
ULONG (STDMETHODCALLTYPE *Release)(
IUISimplePropertySet *This);
/*** IUISimplePropertySet methods ***/
HRESULT (STDMETHODCALLTYPE *GetValue)(
IUISimplePropertySet *This,
REFPROPERTYKEY key,
PROPVARIANT *value);
END_INTERFACE
} IUISimplePropertySetVtbl;
interface IUISimplePropertySet {
CONST_VTBL IUISimplePropertySetVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IUISimplePropertySet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUISimplePropertySet_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUISimplePropertySet_Release(This) (This)->lpVtbl->Release(This)
/*** IUISimplePropertySet methods ***/
#define IUISimplePropertySet_GetValue(This,key,value) (This)->lpVtbl->GetValue(This,key,value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IUISimplePropertySet_QueryInterface(IUISimplePropertySet* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IUISimplePropertySet_AddRef(IUISimplePropertySet* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IUISimplePropertySet_Release(IUISimplePropertySet* This) {
return This->lpVtbl->Release(This);
}
/*** IUISimplePropertySet methods ***/
static FORCEINLINE HRESULT IUISimplePropertySet_GetValue(IUISimplePropertySet* This,REFPROPERTYKEY key,PROPVARIANT *value) {
return This->lpVtbl->GetValue(This,key,value);
}
#endif
#endif
#endif
#endif /* __IUISimplePropertySet_INTERFACE_DEFINED__ */
/*****************************************************************************
* IUICommandHandler interface
*/
#ifndef __IUICommandHandler_INTERFACE_DEFINED__
#define __IUICommandHandler_INTERFACE_DEFINED__
DEFINE_GUID(IID_IUICommandHandler, 0x75ae0a2d, 0xdc03, 0x4c9f, 0x88,0x83, 0x06,0x96,0x60,0xd0,0xbe,0xb6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("75ae0a2d-dc03-4c9f-8883-069660d0beb6")
IUICommandHandler : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Execute(
UINT32 commandId,
UI_EXECUTIONVERB verb,
const PROPERTYKEY *key,
const PROPVARIANT *currentValue,
IUISimplePropertySet *commandExecutionProperties) = 0;
virtual HRESULT STDMETHODCALLTYPE UpdateProperty(
UINT32 commandId,
REFPROPERTYKEY key,
const PROPVARIANT *currentValue,
PROPVARIANT *newValue) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IUICommandHandler, 0x75ae0a2d, 0xdc03, 0x4c9f, 0x88,0x83, 0x06,0x96,0x60,0xd0,0xbe,0xb6)
#endif
#else
typedef struct IUICommandHandlerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IUICommandHandler *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IUICommandHandler *This);
ULONG (STDMETHODCALLTYPE *Release)(
IUICommandHandler *This);
/*** IUICommandHandler methods ***/
HRESULT (STDMETHODCALLTYPE *Execute)(
IUICommandHandler *This,
UINT32 commandId,
UI_EXECUTIONVERB verb,
const PROPERTYKEY *key,
const PROPVARIANT *currentValue,
IUISimplePropertySet *commandExecutionProperties);
HRESULT (STDMETHODCALLTYPE *UpdateProperty)(
IUICommandHandler *This,
UINT32 commandId,
REFPROPERTYKEY key,
const PROPVARIANT *currentValue,
PROPVARIANT *newValue);
END_INTERFACE
} IUICommandHandlerVtbl;
interface IUICommandHandler {
CONST_VTBL IUICommandHandlerVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IUICommandHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUICommandHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUICommandHandler_Release(This) (This)->lpVtbl->Release(This)
/*** IUICommandHandler methods ***/
#define IUICommandHandler_Execute(This,commandId,verb,key,currentValue,commandExecutionProperties) (This)->lpVtbl->Execute(This,commandId,verb,key,currentValue,commandExecutionProperties)
#define IUICommandHandler_UpdateProperty(This,commandId,key,currentValue,newValue) (This)->lpVtbl->UpdateProperty(This,commandId,key,currentValue,newValue)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IUICommandHandler_QueryInterface(IUICommandHandler* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IUICommandHandler_AddRef(IUICommandHandler* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IUICommandHandler_Release(IUICommandHandler* This) {
return This->lpVtbl->Release(This);
}
/*** IUICommandHandler methods ***/
static FORCEINLINE HRESULT IUICommandHandler_Execute(IUICommandHandler* This,UINT32 commandId,UI_EXECUTIONVERB verb,const PROPERTYKEY *key,const PROPVARIANT *currentValue,IUISimplePropertySet *commandExecutionProperties) {
return This->lpVtbl->Execute(This,commandId,verb,key,currentValue,commandExecutionProperties);
}
static FORCEINLINE HRESULT IUICommandHandler_UpdateProperty(IUICommandHandler* This,UINT32 commandId,REFPROPERTYKEY key,const PROPVARIANT *currentValue,PROPVARIANT *newValue) {
return This->lpVtbl->UpdateProperty(This,commandId,key,currentValue,newValue);
}
#endif
#endif
#endif
#endif /* __IUICommandHandler_INTERFACE_DEFINED__ */
/*****************************************************************************
* IUIApplication interface
*/
#ifndef __IUIApplication_INTERFACE_DEFINED__
#define __IUIApplication_INTERFACE_DEFINED__
DEFINE_GUID(IID_IUIApplication, 0xd428903c, 0x729a, 0x491d, 0x91,0x0d, 0x68,0x2a,0x08,0xff,0x25,0x22);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d428903c-729a-491d-910d-682a08ff2522")
IUIApplication : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE OnViewChanged(
UINT32 viewId,
UI_VIEWTYPE typeID,
IUnknown *view,
UI_VIEWVERB verb,
INT32 uReasonCode) = 0;
virtual HRESULT STDMETHODCALLTYPE OnCreateUICommand(
UINT32 commandId,
UI_COMMANDTYPE typeID,
IUICommandHandler **commandHandler) = 0;
virtual HRESULT STDMETHODCALLTYPE OnDestroyUICommand(
UINT32 commandId,
UI_COMMANDTYPE typeID,
IUICommandHandler *commandHandler) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IUIApplication, 0xd428903c, 0x729a, 0x491d, 0x91,0x0d, 0x68,0x2a,0x08,0xff,0x25,0x22)
#endif
#else
typedef struct IUIApplicationVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IUIApplication *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IUIApplication *This);
ULONG (STDMETHODCALLTYPE *Release)(
IUIApplication *This);
/*** IUIApplication methods ***/
HRESULT (STDMETHODCALLTYPE *OnViewChanged)(
IUIApplication *This,
UINT32 viewId,
UI_VIEWTYPE typeID,
IUnknown *view,
UI_VIEWVERB verb,
INT32 uReasonCode);
HRESULT (STDMETHODCALLTYPE *OnCreateUICommand)(
IUIApplication *This,
UINT32 commandId,
UI_COMMANDTYPE typeID,
IUICommandHandler **commandHandler);
HRESULT (STDMETHODCALLTYPE *OnDestroyUICommand)(
IUIApplication *This,
UINT32 commandId,
UI_COMMANDTYPE typeID,
IUICommandHandler *commandHandler);
END_INTERFACE
} IUIApplicationVtbl;
interface IUIApplication {
CONST_VTBL IUIApplicationVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IUIApplication_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUIApplication_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUIApplication_Release(This) (This)->lpVtbl->Release(This)
/*** IUIApplication methods ***/
#define IUIApplication_OnViewChanged(This,viewId,typeID,view,verb,uReasonCode) (This)->lpVtbl->OnViewChanged(This,viewId,typeID,view,verb,uReasonCode)
#define IUIApplication_OnCreateUICommand(This,commandId,typeID,commandHandler) (This)->lpVtbl->OnCreateUICommand(This,commandId,typeID,commandHandler)
#define IUIApplication_OnDestroyUICommand(This,commandId,typeID,commandHandler) (This)->lpVtbl->OnDestroyUICommand(This,commandId,typeID,commandHandler)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IUIApplication_QueryInterface(IUIApplication* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IUIApplication_AddRef(IUIApplication* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IUIApplication_Release(IUIApplication* This) {
return This->lpVtbl->Release(This);
}
/*** IUIApplication methods ***/
static FORCEINLINE HRESULT IUIApplication_OnViewChanged(IUIApplication* This,UINT32 viewId,UI_VIEWTYPE typeID,IUnknown *view,UI_VIEWVERB verb,INT32 uReasonCode) {
return This->lpVtbl->OnViewChanged(This,viewId,typeID,view,verb,uReasonCode);
}
static FORCEINLINE HRESULT IUIApplication_OnCreateUICommand(IUIApplication* This,UINT32 commandId,UI_COMMANDTYPE typeID,IUICommandHandler **commandHandler) {
return This->lpVtbl->OnCreateUICommand(This,commandId,typeID,commandHandler);
}
static FORCEINLINE HRESULT IUIApplication_OnDestroyUICommand(IUIApplication* This,UINT32 commandId,UI_COMMANDTYPE typeID,IUICommandHandler *commandHandler) {
return This->lpVtbl->OnDestroyUICommand(This,commandId,typeID,commandHandler);
}
#endif
#endif
#endif
#endif /* __IUIApplication_INTERFACE_DEFINED__ */
/*****************************************************************************
* IUIFramework interface
*/
#ifndef __IUIFramework_INTERFACE_DEFINED__
#define __IUIFramework_INTERFACE_DEFINED__
DEFINE_GUID(IID_IUIFramework, 0xf4f0385d, 0x6872, 0x43a8, 0xad,0x09, 0x4c,0x33,0x9c,0xb3,0xf5,0xc5);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("f4f0385d-6872-43a8-ad09-4c339cb3f5c5")
IUIFramework : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Initialize(
HWND frameWnd,
IUIApplication *application) = 0;
virtual HRESULT STDMETHODCALLTYPE Destroy(
) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadUI(
HINSTANCE instance,
LPCWSTR resourceName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetView(
UINT32 viewId,
REFIID riid,
void **ppv) = 0;
virtual HRESULT STDMETHODCALLTYPE GetUICommandProperty(
UINT32 commandId,
REFPROPERTYKEY key,
PROPVARIANT *value) = 0;
virtual HRESULT STDMETHODCALLTYPE SetUICommandProperty(
UINT32 commandId,
REFPROPERTYKEY key,
PROPVARIANT value) = 0;
virtual HRESULT STDMETHODCALLTYPE InvalidateUICommand(
UINT32 commandId,
UI_INVALIDATIONS flags,
const PROPERTYKEY *key) = 0;
virtual HRESULT STDMETHODCALLTYPE FlushPendingInvalidations(
) = 0;
virtual HRESULT STDMETHODCALLTYPE SetModes(
INT32 iModes) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IUIFramework, 0xf4f0385d, 0x6872, 0x43a8, 0xad,0x09, 0x4c,0x33,0x9c,0xb3,0xf5,0xc5)
#endif
#else
typedef struct IUIFrameworkVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IUIFramework *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IUIFramework *This);
ULONG (STDMETHODCALLTYPE *Release)(
IUIFramework *This);
/*** IUIFramework methods ***/
HRESULT (STDMETHODCALLTYPE *Initialize)(
IUIFramework *This,
HWND frameWnd,
IUIApplication *application);
HRESULT (STDMETHODCALLTYPE *Destroy)(
IUIFramework *This);
HRESULT (STDMETHODCALLTYPE *LoadUI)(
IUIFramework *This,
HINSTANCE instance,
LPCWSTR resourceName);
HRESULT (STDMETHODCALLTYPE *GetView)(
IUIFramework *This,
UINT32 viewId,
REFIID riid,
void **ppv);
HRESULT (STDMETHODCALLTYPE *GetUICommandProperty)(
IUIFramework *This,
UINT32 commandId,
REFPROPERTYKEY key,
PROPVARIANT *value);
HRESULT (STDMETHODCALLTYPE *SetUICommandProperty)(
IUIFramework *This,
UINT32 commandId,
REFPROPERTYKEY key,
PROPVARIANT value);
HRESULT (STDMETHODCALLTYPE *InvalidateUICommand)(
IUIFramework *This,
UINT32 commandId,
UI_INVALIDATIONS flags,
const PROPERTYKEY *key);
HRESULT (STDMETHODCALLTYPE *FlushPendingInvalidations)(
IUIFramework *This);
HRESULT (STDMETHODCALLTYPE *SetModes)(
IUIFramework *This,
INT32 iModes);
END_INTERFACE
} IUIFrameworkVtbl;
interface IUIFramework {
CONST_VTBL IUIFrameworkVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IUIFramework_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUIFramework_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUIFramework_Release(This) (This)->lpVtbl->Release(This)
/*** IUIFramework methods ***/
#define IUIFramework_Initialize(This,frameWnd,application) (This)->lpVtbl->Initialize(This,frameWnd,application)
#define IUIFramework_Destroy(This) (This)->lpVtbl->Destroy(This)
#define IUIFramework_LoadUI(This,instance,resourceName) (This)->lpVtbl->LoadUI(This,instance,resourceName)
#define IUIFramework_GetView(This,viewId,riid,ppv) (This)->lpVtbl->GetView(This,viewId,riid,ppv)
#define IUIFramework_GetUICommandProperty(This,commandId,key,value) (This)->lpVtbl->GetUICommandProperty(This,commandId,key,value)
#define IUIFramework_SetUICommandProperty(This,commandId,key,value) (This)->lpVtbl->SetUICommandProperty(This,commandId,key,value)
#define IUIFramework_InvalidateUICommand(This,commandId,flags,key) (This)->lpVtbl->InvalidateUICommand(This,commandId,flags,key)
#define IUIFramework_FlushPendingInvalidations(This) (This)->lpVtbl->FlushPendingInvalidations(This)
#define IUIFramework_SetModes(This,iModes) (This)->lpVtbl->SetModes(This,iModes)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IUIFramework_QueryInterface(IUIFramework* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IUIFramework_AddRef(IUIFramework* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IUIFramework_Release(IUIFramework* This) {
return This->lpVtbl->Release(This);
}
/*** IUIFramework methods ***/
static FORCEINLINE HRESULT IUIFramework_Initialize(IUIFramework* This,HWND frameWnd,IUIApplication *application) {
return This->lpVtbl->Initialize(This,frameWnd,application);
}
static FORCEINLINE HRESULT IUIFramework_Destroy(IUIFramework* This) {
return This->lpVtbl->Destroy(This);
}
static FORCEINLINE HRESULT IUIFramework_LoadUI(IUIFramework* This,HINSTANCE instance,LPCWSTR resourceName) {
return This->lpVtbl->LoadUI(This,instance,resourceName);
}
static FORCEINLINE HRESULT IUIFramework_GetView(IUIFramework* This,UINT32 viewId,REFIID riid,void **ppv) {
return This->lpVtbl->GetView(This,viewId,riid,ppv);
}
static FORCEINLINE HRESULT IUIFramework_GetUICommandProperty(IUIFramework* This,UINT32 commandId,REFPROPERTYKEY key,PROPVARIANT *value) {
return This->lpVtbl->GetUICommandProperty(This,commandId,key,value);
}
static FORCEINLINE HRESULT IUIFramework_SetUICommandProperty(IUIFramework* This,UINT32 commandId,REFPROPERTYKEY key,PROPVARIANT value) {
return This->lpVtbl->SetUICommandProperty(This,commandId,key,value);
}
static FORCEINLINE HRESULT IUIFramework_InvalidateUICommand(IUIFramework* This,UINT32 commandId,UI_INVALIDATIONS flags,const PROPERTYKEY *key) {
return This->lpVtbl->InvalidateUICommand(This,commandId,flags,key);
}
static FORCEINLINE HRESULT IUIFramework_FlushPendingInvalidations(IUIFramework* This) {
return This->lpVtbl->FlushPendingInvalidations(This);
}
static FORCEINLINE HRESULT IUIFramework_SetModes(IUIFramework* This,INT32 iModes) {
return This->lpVtbl->SetModes(This,iModes);
}
#endif
#endif
#endif
#endif /* __IUIFramework_INTERFACE_DEFINED__ */
/*****************************************************************************
* UIRibbonFramework coclass
*/
DEFINE_GUID(CLSID_UIRibbonFramework, 0x926749fa, 0x2615, 0x4987, 0x88,0x45, 0xc3,0x3e,0x65,0xf2,0xb9,0x57);
#ifdef __cplusplus
class DECLSPEC_UUID("926749fa-2615-4987-8845-c33e65f2b957") UIRibbonFramework;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(UIRibbonFramework, 0x926749fa, 0x2615, 0x4987, 0x88,0x45, 0xc3,0x3e,0x65,0xf2,0xb9,0x57)
#endif
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __uiribbon_h__ */
|