* ntdll.h (RtlGetVersion): Declare.

* wincap.cc (wincapc::init): Rather than GetVersionEx, call
	RtlGetVersion which is not crippled by missing Windows 8.1 manifest.
	* wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW.
	Align formatting of all class members.
This commit is contained in:
Corinna Vinschen
2013-11-19 22:21:11 +00:00
parent f8863cbe54
commit c9f36df332
5 changed files with 20 additions and 7 deletions

View File

@@ -43,11 +43,11 @@ struct wincaps
class wincapc
{
SYSTEM_INFO system_info;
OSVERSIONINFOEX version;
char osnam[40];
ULONG_PTR wow64;
void *caps;
SYSTEM_INFO system_info;
RTL_OSVERSIONINFOEXW version;
char osnam[40];
ULONG_PTR wow64;
void *caps;
public:
void init ();