Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-12-13 04:18:54 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2002-12-13 04:18:54 +0300
commit4adcb8724d90d0f2dda07fa57881af1f291c306c (patch)
tree9395ae967240104f9588f8afc1c43fdec6ce232b
parentbf0aa692c601437c0287fb130d5f38d269bfc4cb (diff)
2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/oleacc.h (SELFLAG_*): Change to enum.
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/oleacc.h18
2 files changed, 17 insertions, 9 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 8090d955d..b3d3055d5 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,9 +1,13 @@
-2002-12-11 Danny Smith <dannysmith@users.sourveforge.net>
+2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
+
+ * include/oleacc.h (SELFLAG_*): Change to enum.
+
+2002-12-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlobj.h (IShellLinkW::GetPath): Correct prototype.
Thanks to: Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
-2002-12-09 Danny Smith <dannysmith@users.sourveforge.net>
+2002-12-09 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (ExtractIconEx[AW]): Correct return type
to UINT.
diff --git a/winsup/w32api/include/oleacc.h b/winsup/w32api/include/oleacc.h
index ac4e9b1fb..ccc961042 100644
--- a/winsup/w32api/include/oleacc.h
+++ b/winsup/w32api/include/oleacc.h
@@ -23,13 +23,17 @@
#define DISPID_ACC_HITTEST (-5017)
#define DISPID_ACC_DODEFAULTACTION (-5018)
-#define SELFLAG_NONE 0x00000000
-#define SELFLAG_TAKEFOCUS 0x00000001
-#define SELFLAG_TAKESELECTION 0x00000002
-#define SELFLAG_EXTENDSELECTION 0x00000004
-#define SELFLAG_ADDSELECTION 0x00000008
-#define SELFLAG_REMOVESELECTION 0x00000010
-#define SELFLAG_VALID 0x0000001F
+typedef enum tagSELFLAG
+{
+ SELFLAG_NONE = 0,
+ SELFLAG_TAKEFOCUS = 1,
+ SELFLAG_TAKESELECTION = 2,
+ SELFLAG_EXTENDSELECTION = 4,
+ SELFLAG_ADDSELECTION = 8,
+ SELFLAG_REMOVESELECTION = 16
+} SELFLAG;
+
+#define SELFLAG_VALID 0x0000001F
/* DEFINE_GUID(LIBID_Accessibility, 0x1ea4dbf0, 0x3c3b,0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); */
/* DEFINE_GUID(IID_IAccessible, 0x618736e0, 0x3c3d,0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); */