UI_OWNERSHIP enumeration (uiribbon.h)

Specifies values that identify the ownership conditions under which an image is created by the Windows Ribbon framework.

Syntax

typedef enum UI_OWNERSHIP {
  UI_OWNERSHIP_TRANSFER = 0,
  UI_OWNERSHIP_COPY = 1
} ;

Constants

 
UI_OWNERSHIP_TRANSFER
Value: 0
The handle to the bitmap (HBITMAP) is owned by the Ribbon framework
through the IUIImage object.
UI_OWNERSHIP_COPY
Value: 1
A copy of the HBITMAP is created by the Ribbon framework through
the IUIImage object. The host application still owns the HBITMAP.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Header uiribbon.h

See also

Constants and Enumerations

IUIImageFromBitmap::CreateImage