The EMREXTCREATEPEN structure contains members for the ExtCreatePen enhanced metafile record. If the record contains a BITMAPINFO structure, it is followed by the bitmap bits that form a packed device-independent bitmap (DIB).
typedef struct tagEMREXTCREATEPEN
{
EMR emr;
DWORD ihPen;
DWORD offBmi;
DWORD cbBmi;
DWORD offBits;
DWORD cbBits;
EXTLOGPEN elp;
} EMREXTCREATEPEN, *PEMREXTCREATEPEN;
Members
emr
Base structure for all record types.
ihPen
Index to pen in handle table.
offBmi
Offset to BITMAPINFO structure, if any.
cbBmi
Size of BITMAPINFO structure, if any.
offBits
Offset to brush bitmap bits, if any.
cbBits
Size of brush bitmap bits, if any.
elp
Extended logical pen, including the elpStyleEntry member of the EXTLOGPEN structure.
See Also