Estructura EMRCREATEBRUSHINDIRECT (wingdi.h)

La estructura EMRCREATEBRUSHINDIRECT contiene miembros para el registro de metarchivo mejorado CreateBrushIndirect .

Sintaxis

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

Miembros

emr

Estructura base de todos los tipos de registro.

ihBrush

Índice del pincel en la tabla de identificadores.

lb

Estructura LOGBRUSH32 que contiene información sobre el pincel. El miembro lbStyle debe ser el valor de BS_SOLID, BS_HOLLOW, BS_NULL o BS_HATCHED.

Tenga en cuenta que si el código se usa en plataformas de 32 y 64 bits, debe usar la estructura LOGBRUSH32 . Esto mantiene la compatibilidad entre las plataformas al registrar el metarchivo en una plataforma y usarla en la otra plataforma. Si el código permanece en una plataforma, es suficiente usar LOGBRUSH.

Requisitos

   
Cliente mínimo compatible Windows 2000 Professional [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows 2000 Server [solo aplicaciones de escritorio]
Encabezado wingdi.h (incluye Windows.h)

Consulte también

CreateBrushIndirect

LOGBRUSH

LOGBRUSH32

Estructuras de metarchivo

Introducción a los metarchivos