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,
  UI_OWNERSHIP_COPY
} ;

Constants

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

Requirements

   
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