69 if (index < physDev->handles_size && physDev->
handles[
index])
109 mr.
rdSize =
sizeof mr / 2;
129 mr.
rdSize =
sizeof mr / 2;
156 if (!
GetObjectA( hBrush,
sizeof(logbrush), &logbrush ))
return -1;
201 memcpy( dst_info, src_info, info_size );
204 dst_ptr = (
char *)dst_info + info_size;
415#define PALVERSION 0x0300
418 WORD wNumEntries = 0;
419 BOOL creationSucceed;
424 if (wNumEntries == 0)
return 0;
429 if (logPalette ==
NULL)
return 0;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static int get_dib_stride(int width, int bpp)
#define HeapFree(x, y, z)
#define WideCharToMultiByte
#define get_full_gdi_handle
void GDI_hdc_using_object(HGDIOBJ obj, HDC hdc) DECLSPEC_HIDDEN
static int get_dib_info_size(const BITMAPINFO *info, UINT coloruse)
BOOL get_brush_bitmap_info(HBRUSH handle, BITMAPINFO *info, void *bits, UINT *usage) DECLSPEC_HIDDEN
GLdouble GLdouble GLdouble r
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLsizeiptr const GLvoid GLenum usage
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
BOOL MFDRV_DeleteObject(PHYSDEV dev, HGDIOBJ obj)
HPALETTE MFDRV_SelectPalette(PHYSDEV dev, HPALETTE hPalette, BOOL bForceBackground)
BOOL MFDRV_RemoveHandle(PHYSDEV dev, UINT index)
UINT MFDRV_RealizePalette(PHYSDEV dev, HPALETTE hPalette, BOOL dummy)
UINT MFDRV_AddHandle(PHYSDEV dev, HGDIOBJ obj)
static INT16 MFDRV_FindObject(PHYSDEV dev, HGDIOBJ obj)
HFONT MFDRV_SelectFont(PHYSDEV dev, HFONT hfont, UINT *aa_flags)
HPEN MFDRV_SelectPen(PHYSDEV dev, HPEN hpen, const struct brush_pattern *pattern)
INT16 MFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush)
static UINT16 MFDRV_CreateFontIndirect(PHYSDEV dev, HFONT hFont, LOGFONTW *logfont)
static BOOL MFDRV_SelectObject(PHYSDEV dev, INT16 index)
HBRUSH MFDRV_SelectBrush(PHYSDEV dev, HBRUSH hbrush, const struct brush_pattern *pattern)
static UINT16 MFDRV_CreatePenIndirect(PHYSDEV dev, HPEN hPen, LOGPEN16 *logpen)
static BOOL MFDRV_CreatePalette(PHYSDEV dev, HPALETTE hPalette, LOGPALETTE *logPalette, int sizeofPalette)
HBITMAP MFDRV_SelectBitmap(PHYSDEV dev, HBITMAP hbitmap)
#define memcpy(s1, s2, n)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const unsigned char metafile[]
CHAR lfFaceName[LF_FACESIZE]
WCHAR lfFaceName[LF_FACESIZE]
BITMAPINFOHEADER bmiHeader
#define FIELD_OFFSET(t, f)
UINT WINAPI GetPaletteEntries(HPALETTE hpal, UINT iStartIndex, UINT cEntries, LPPALETTEENTRY ppe)
BOOL MFDRV_WriteRecord(PHYSDEV dev, METARECORD *mr, DWORD rlen)
#define META_CREATEBRUSHINDIRECT
#define META_REALIZEPALETTE
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
struct tagPALETTEENTRY PALETTEENTRY
#define META_CREATEFONTINDIRECT
int WINAPI GetObjectA(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
#define META_SELECTPALETTE
#define META_CREATEPENINDIRECT
struct tagLOGPALETTE LOGPALETTE
#define META_DELETEOBJECT
#define META_CREATEPALETTE
#define META_SELECTOBJECT
struct tagBITMAPINFO BITMAPINFO
struct tagMETARECORD METARECORD
#define META_DIBCREATEPATTERNBRUSH