#ifndef EMACS_W32GUI_H
#define EMACS_W32GUI_H
#include <windows.h>
-/* Emacs takes care of ensuring that these are defined. */
-#ifdef max
-#undef max
-#undef min
-#endif
#include "w32bdf.h"
typedef HWND Window;
typedef HCURSOR Cursor;
+/* Windows equivalent of XImage. */
+typedef struct _XImage
+{
+ unsigned char * data;
+ BITMAPINFO info;
+ /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
+} XImage;
+
#define FACE_DEFAULT (~0)
extern HINSTANCE hinst;