4.1.10 Mem3Blt
The following is an annotated dump of a Mem3Blt (section 2.2.2.2.1.1.2.10) Primary Drawing Order.
-
00000000 49 0e 3f 8e 01 00 3c 01 1f 01 40 00 0c 00 b8 ff I.?...<...@..... 00000010 ff 00 3b 1e ff 7f 03 71 00 21 04 05 40 0d 40 73 ..;....q.!..@.@s 00000020 07 20 1c 84 ff ff ff ff ff ff ff ff 00 21 fe 44 . ...........!.D 00000030 e7 38 81 c8 86 00 00 00 00 ff ff 00 00 ff ff ff .8.............. 00000040 ff 43 c9 11 00 26 01 fd 43 f7 01 80 fd 5d 03 f0 .C...&..C....].. 00000050 01 00 00 81 00 00 00 00 09 00 c0 f3 00 c0 03 e0 ................ 00000060 01 00 80 70 04 80 03 e0 08 00 c0 84 00 00 00 00 ...p............ 00000070 ff ff ff ff 43 cf e0 79 01 26 40 20 3e 00 00 70 ....C..y.&@ >..p 49 -> PRIMARY_DRAWING_ORDER::controlFlags = 0x19 0x49 = 0x01 | 0x08 | 0x40 = TS_STANDARD | TS_TYPE_CHANGE | TS_ZERO_FIELD_BYTE_BIT0 0e -> PRIMARY_DRAWING_ORDER::orderType = TS_ENC_MEM3BLT_R2_ORDER 3f 8e -> PRIMARY_DRAWING_ORDER::fieldFlags = 0x8e3f TS_ZERO_FIELD_BYTE_BIT0 Indicates that last field byte is 0 PRIMARY_DRAWING_ORDER::fieldFlags = 0x008e3f Binary of 0x008e3f = 0000 0000 1000 1110 0011 1111 Fields 1-6, 10-12, 16 are present 01 00 -> MEM3BLT_ORDER::cacheId = 0x0001 Color Table Cache Index = 0x00 Bitmap Cache ID = 0x01 3c 01 -> MEM3BLT_ORDER::nLeftRect = 0x013c = 316 1f 01 -> MEM3BLT_ORDER::nTopRect = 0x011f = 287 40 00 -> MEM3BLT_ORDER::nWidth = 0x0040 = 64 0c 00 -> MEM3BLT_ORDER::nHeight = 0x015 = 12 b8 -> MEM3BLT_ORDER::bRop = 0xb8 = ROP Table Entry #184 = 0x00b80666 MEM3BLT_ORDER::nXSrc not present MEM3BLT_ORDER::nYSrc not present MEM3BLT_ORDER::BackColor not present ff ff 00 -> MEM3BLT_ORDER::ForeColor TS_COLOR::RedOrPaletteIndex = 0xff TS_COLOR::Green = 0xff TS_COLOR::Blue = 0x00 3b -> MEM3BLT_ORDER::BrushOrgX = 0x3b = 59 1e -> MEM3BLT_ORDER::BrushOrgY = 0x1e = 30 MEM3BLT_ORDER::BrushStyle not present MEM3BLT_ORDER::BrushHatch not present MEM3BLT_ORDER::BrushExtra not present ff 7f -> MEM3BLT_ORDER::cacheIndex = 0x7fff = 32767