EMR
Expand Minimize

EMRCREATEBRUSHINDIRECT structure

The EMRCREATEBRUSHINDIRECT structure contains members for the CreateBrushIndirect enhanced metafile record.

Syntax


typedef struct tagEMRCREATEBRUSHINDIRECT {
  EMR        emr;
  DWORD      ihBrush;
  LOGBRUSH32 lb;
} EMRCREATEBRUSHINDIRECT, *PEMRCREATEBRUSHINDIRECT;

Members

emr

The base structure for all record types.

ihBrush

Index of brush in handle table.

lb

A LOGBRUSH32 structure containing information about the brush. The lbStyle member must be either the BS_SOLID, BS_HOLLOW, BS_NULL, or BS_HATCHED value.

Note, that if your code is used on both 32-bit and 64-bit platforms, you must use the LOGBRUSH32 structure. This maintains compatibility between the platforms when you record the metafile on one platform and use it on the other platform. If your code remains on one platform, it is sufficient to use LOGBRUSH.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Metafiles Overview
Metafile Structures
CreateBrushIndirect
LOGBRUSH
LOGBRUSH32

 

 

Build date: 6/12/2013

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.