* 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:
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user