Chun-wei Fan
bcbf80c355
gwin32: Add g_win32_check_windows_version() API
...
This adds a public API where one can use to see whether the running version
of Windows where the code is run is at least the specified version, service
pack level, and the type (non-server, server, any) of the running Windows
OS.
This API is done as:
-GetVersion()/GetVersionEx() changed in the way they work since Windows 8.1
[1][2], so a newer mechanism to check the version of the running Windows
operating system is needed. MSDN also states that GetVersion() might be
further changed or removed after Windows 8.1. This provides a wrapper for
VerfyVersionInfo() as well in GLib for most cases, which was recommended
in place of g_win32_get_windows_version() for more detailed Windows
version checking.
-Provides an OS-level functionality check, for those that we don't need to
venture into GetProcAddress(), and also to determine system API behavior
changes due to differences in OS versions.
Also added a note for the g_win32_get_windows_version() API that since the
behavior of GetVersion() which it uses, is changed since Windows 8.1, users
of the API should be aware.
[1]:
http://msdn.microsoft.com/zh-tw/library/windows/desktop/ms724451%28v=vs.85%29.aspx
[2]:
http://msdn.microsoft.com/zh-tw/library/windows/desktop/ms724451%28v=vs.85%29.aspx
https://bugzilla.gnome.org/show_bug.cgi?id=741895
2015-01-27 12:17:14 +08:00
..
2014-10-10 06:41:55 -04:00
2013-05-21 11:23:22 -03:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-06-28 13:07:52 -04:00
2014-11-29 14:22:03 -05:00
2013-05-31 23:12:15 -04:00
2011-06-12 16:17:30 -04:00
2014-12-12 11:01:37 -05:00
2014-06-28 13:43:23 -04:00
2014-10-08 20:51:47 +02:00
2014-02-01 20:46:29 -05:00
2014-02-23 01:14:27 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-14 21:39:11 -05:00
2014-07-23 09:28:23 -04:00
2014-02-06 08:07:16 -05:00
2014-03-02 18:23:43 -05:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-06-12 13:25:06 -04:00
2014-05-31 19:22:15 +01:00
2013-11-20 09:16:16 -05:00
2014-07-14 08:39:34 -04:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-06-28 13:07:52 -04:00
2014-01-31 14:31:55 +01:00
2014-12-12 11:01:37 -05:00
2014-05-30 13:51:16 +02:00
2014-12-12 11:01:37 -05:00
2014-10-02 14:40:16 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-08 12:26:56 -05:00
2014-01-31 14:31:55 +01:00
2014-12-23 19:49:41 -05:00
2014-05-31 19:22:15 +01:00
2014-02-19 19:41:52 -05:00
2014-12-12 11:01:37 -05:00
2014-06-28 12:49:07 -04:00
2014-05-05 18:30:56 +08:00
2014-12-12 11:01:37 -05:00
2014-10-10 14:17:56 -04:00
2014-05-31 19:22:15 +01:00
2014-08-02 10:54:01 +00:00
2014-12-12 11:01:37 -05:00
2015-01-15 14:22:25 +00:00
2014-01-31 14:31:55 +01:00
2014-12-12 11:01:37 -05:00
2014-01-31 14:31:55 +01:00
2014-04-16 16:20:46 +01:00
2014-01-31 14:31:55 +01:00
2014-02-09 02:07:26 -05:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-07-04 17:03:50 +02:00
2014-12-12 11:01:37 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-12-12 11:01:37 -05:00
2014-01-31 14:31:55 +01:00
2013-11-23 00:22:09 -05:00
2014-01-31 14:31:55 +01:00
2014-07-23 09:18:43 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-05-21 07:41:08 -04:00
2014-02-06 08:07:16 -05:00
2014-02-14 21:49:42 -05:00
2014-01-31 14:31:55 +01:00
2013-12-18 07:22:16 +11:00
2011-06-07 08:55:31 +08:00
2013-11-23 00:22:09 -05:00
2015-01-07 09:59:47 +08:00
2013-01-13 13:11:57 -05:00
2014-02-14 21:33:36 -05:00
2014-01-31 14:31:55 +01:00
2015-01-14 16:21:00 +01:00
2014-01-31 14:31:55 +01:00
2014-11-28 23:54:02 -05:00
2014-05-31 19:22:15 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-05-09 18:47:42 +02:00
2014-05-09 18:47:42 +02:00
2014-11-13 17:49:31 +00:00
2014-07-30 15:11:01 +02:00
2014-07-09 10:48:34 -04:00
2014-02-11 15:01:58 +00:00
2008-04-08 02:59:05 +00:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-12-12 11:01:37 -05:00
2014-10-15 23:37:45 +02:00
2014-06-28 13:07:52 -04:00
2014-01-31 14:31:55 +01:00
2014-10-29 17:19:20 -04:00
2014-05-31 10:54:02 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-08 12:26:56 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-08 12:26:56 -05:00
2014-01-31 14:31:55 +01:00
2014-11-09 20:42:50 +01:00
2014-04-15 22:19:07 +02:00
2014-09-15 22:25:08 +03:00
2014-01-31 14:31:55 +01:00
2014-02-14 21:33:36 -05:00
2014-05-31 10:54:02 -04:00
2014-05-31 10:54:02 -04:00
2014-01-31 14:31:55 +01:00
2014-06-28 12:49:38 -04:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-06-29 17:57:24 +02:00
2013-01-13 13:11:57 -05:00
2014-04-16 07:53:58 -04:00
2015-01-14 16:21:00 +01:00
2014-09-27 00:04:55 +02:00
2014-01-31 14:31:55 +01:00
2014-07-14 08:43:17 -04:00
2014-08-05 06:44:01 +00:00
2014-05-31 10:54:02 -04:00
2014-12-12 11:01:37 -05:00
2014-12-12 11:01:37 -05:00
2014-01-31 14:31:55 +01:00
2015-01-25 16:22:43 +00:00
2014-11-25 12:51:36 +00:00
2014-05-09 18:47:42 +02:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 09:36:52 -05:00
2014-01-31 14:31:55 +01:00
2015-01-18 23:04:05 +00:00
2015-01-14 16:21:00 +01:00
2015-01-26 09:06:13 +00:00
2014-01-31 14:31:55 +01:00
2015-01-25 17:09:24 +00:00
2014-01-31 14:31:55 +01:00
2014-10-05 12:11:21 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-07-14 08:39:34 -04:00
2014-01-31 14:31:55 +01:00
2014-02-20 18:27:24 -05:00
2014-02-20 18:32:42 -05:00
2014-02-06 08:07:16 -05:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-06-28 13:07:52 -04:00
2014-02-19 19:41:52 -05:00
2014-06-28 12:49:38 -04:00
2014-06-28 12:49:38 -04:00
2014-12-12 11:01:37 -05:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-06-28 12:49:38 -04:00
2014-02-19 19:41:52 -05:00
2014-06-28 12:49:38 -04:00
2014-06-28 12:49:38 -04:00
2014-02-05 21:23:28 -05:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-09-11 11:07:48 +03:00
2014-06-28 13:07:52 -04:00
2014-04-24 13:42:37 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-05-31 10:54:02 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-09-19 16:58:23 +01:00
2014-02-04 11:56:06 +00:00
2014-02-08 13:43:16 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-05-31 10:54:02 -04:00
2014-01-31 14:31:55 +01:00
2014-09-29 11:40:10 -04:00
2014-06-21 17:41:31 +01:00
2014-01-31 14:31:55 +01:00
2015-01-27 12:17:14 +08:00
2015-01-27 12:17:14 +08:00
2010-12-03 14:41:06 -05:00
2014-12-20 21:32:53 -05:00
2011-11-16 09:10:46 +01:00
2014-02-20 18:27:24 -05:00
2014-12-12 11:01:37 -05:00
2014-08-02 12:38:39 +00:00