changeset 3968:e0ed2597587b

[gaim-migrate @ 4152] Initial import committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 16 Nov 2002 01:00:53 +0000
parents cafc0968ea6b
children 020345f97ceb
files src/win32/mingw_plus/Makefile.mingw src/win32/mingw_plus/user32plus.def src/win32/mingw_plus/winuser_extra.h
diffstat 3 files changed, 51 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/win32/mingw_plus/Makefile.mingw	Sat Nov 16 01:00:53 2002 +0000
@@ -0,0 +1,13 @@
+#
+# Makefile.mingw
+#
+# Description: Build an import lib containing all Win32 API symbols
+# which are missing from mingw 1.1 import libs.
+#
+
+
+user32plus.lib: user32plus.def
+	dlltool -D user32.dll -d user32plus.def -l user32plus.lib
+
+all: user32plus.lib
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/win32/mingw_plus/user32plus.def	Sat Nov 16 01:00:53 2002 +0000
@@ -0,0 +1,2 @@
+EXPORTS
+	FlashWindowEx
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/win32/mingw_plus/winuser_extra.h	Sat Nov 16 01:00:53 2002 +0000
@@ -0,0 +1,36 @@
+/* 
+ * winuser_extra.h
+ *
+ * Description: The following is missing from mingw 1.1
+ */
+
+#ifndef _WINUSER_EXTRA_H_
+#define _WINUSER_EXTRA_H_
+
+/* From MSDN Lib - Mingw dosn't have */
+/*#if(WINVER >= 0x0500)*/
+#define FLASHW_STOP         0
+#define FLASHW_CAPTION      0x00000001
+#define FLASHW_TRAY         0x00000002
+#define FLASHW_ALL          (FLASHW_CAPTION | FLASHW_TRAY)
+#define FLASHW_TIMER        0x00000004
+#define FLASHW_TIMERNOFG    0x0000000C
+/*#endif /* WINVER >= 0x0500 */
+
+
+/* From MSDN Lib - Mingw dosn't have */
+typedef struct {
+    UINT  cbSize;
+    HWND  hwnd;
+    DWORD dwFlags;
+    UINT  uCount;
+    DWORD dwTimeout;
+} FLASHWINFO, *PFLASHWINFO;
+
+/*
+ *  PROTOS
+ */
+/* From MS user32.lib (mingw 1.1 dosn't have it) */
+extern BOOL FlashWindowEx(PFLASHWINFO pfwi);
+
+#endif /* _WINUSER_EXTRA_H_ */