Type (4 bytes): A 32-bit unsigned integer that identifies this record type as EMR_RESIZEPALETTE. This MUST be 0x00000033. Size (4 bytes): A 32-bit unsigned integer that specifies the size of this record in bytes. ihPal (4 bytes): A 32-bit unsigned integer that specifies the index of the palette object in the . NumberOfEntries (4 bytes): A 32-bit unsigned integer that specifies the number of entries in the palette after resizing. The value MUST be less than or equal to 0x00000400 and greater than 0x00000000.<94> The new size of the LogPalette object MUST be reflected in the NumberOfEntries field in that structure. See section for the specification of other Object Manipulation record types. EMR_SELECTOBJECT Record The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device context. The object is specified either by its index in the or by its value from the . 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Type Size ihObject Type (4 bytes): A 32-bit unsigned integer that identifies this record type as EMR_SELECTOBJECT. This MUST be 0x00000025. Size (4 bytes): A 32-bit unsigned integer that specifies the size of this record, in bytes. ihObject (4 bytes): A 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the StockObject enumeration. This value MUST NOT be 0, which is a reserved index that refers to the EMF metafile itself. The object specified by this record MUST be used in drawing operations that require such an object until a different object of the same type is specified by another EMR_SELECTOBJECT record, or the object is removed by an record. See section for the specification of other Object Manipulation record types. EMR_SELECTPALETTE Record The EMR_SELECTPALETTE record specifies a logical palette for the playback device context. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Type Size
Type (4 bytes): A 32-bit unsigned integer that identifies this record type as EMR_RESIZEPALETTE. This MUST be 0x00000033. Size (4 bytes): A 32-bit unsigned integer that specifies the size of this record in bytes. ihPal (4 bytes): A 32-bit unsigned integer that specifies the index of the palette object in the . NumberOfEntries (4 bytes): A 32-bit unsigned integer that specifies the number of entries in the palette after resizing. The value MUST be less than or equal to 0x00000400 and greater than 0x00000000.<94> The new size of the LogPalette object MUST be reflected in the NumberOfEntries field in that structure. See section for the specification of other Object Manipulation record types. EMR_SELECTOBJECT Record The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device context. The object is specified either by its index in the or by its value from the . 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 Type Size ihObject Type (4 bytes): A 32-bit unsigned integer that identifies this record type as EMR_SELECTOBJECT. This MUST be 0x00000025. Size (4 bytes): A 32-bit unsigned integer that specifies the size of this record, in bytes. ihObject (4 bytes): A 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the StockObject enumeration. This value MUST NOT be 0, which is a reserved index that refers to the EMF metafile itself. The object specified by this record MUST be used in drawing operations that require such an object until a different object of the same type is specified by another EMR_SELECTOBJECT record, or the object is removed by an record. See section for the specification of other Object Manipulation record types. EMR_SELECTPALETTE Record The EMR_SELECTPALETTE record specifies a logical palette for the playback device context. 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 Type Size
%5BMS-EMF%5D-150630.docx