2.2.2.2.1.3.6.1.1 GDI+ Cache Type (DRAW_GDIPLUS_CACHE_TYPE)

The DRAW_GDIPLUS_CACHE_TYPE structure stores a GDI+ cache type identifier. The Cache Type is derived from the Type field of an EMF+ Record (see [MS-EMFPLUS] section 2.3). Only a subset of these types are cacheable.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cacheType

cacheType (2 bytes): A 16-bit, unsigned integer. The GDI+ cache type MUST be one of the following values.

Value

Meaning

GDIP_CACHE_GRAPHICS_DATA

0x0001

GDI+ Graphics Cache.

This cache type is associated with EMF+ Records of type EmfPlusSetTSGraphics (see [MS-EMFPLUS] section 2.3.8.2).

GDIP_CACHE_OBJECT_BRUSH

0x0002

GDI+ Brush Cache.

This cache type is associated with EMF+ Records of type EmfPlusObject (see [MS-EMFPLUS] section 2.3.5.1) where the object type is ObjectTypeBrush (see [MS-EMFPLUS] section 2.1.1.21).

GDIP_CACHE_OBJECT_PEN

0x0003

GDI+ Pen Cache.

This cache type is associated with EMF+ Records of type EmfPlusObject (see [MS-EMFPLUS] section 2.3.5.1) where the object type is ObjectTypePen (see [MS-EMFPLUS] section 2.1.1.21).

GDIP_CACHE_OBJECT_IMAGE

0x0004

GDI+ Image Cache.

This cache type is associated with EMF+ Records of type EmfPlusObject (see [MS-EMFPLUS] section 2.3.5.1) where the object type is ObjectTypeImage (see [MS-EMFPLUS] section 2.1.1.21).

GDIP_CACHE_OBJECT_IMAGEATTRIBUTES

0x0005

GDI+ Image Attributes Cache.

This cache type is associated with EMF+ Records of type EmfPlusObject (see [MS-EMFPLUS] section 2.3.5.1) where the object type is ObjectTypeImageAttributes (see [MS-EMFPLUS] section 2.1.1.21).