Pyrogenesis
13997
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
lib
sysdep
os
win
wversion.h
Go to the documentation of this file.
1
/* Copyright (c) 2010 Wildfire Games
2
*
3
* Permission is hereby granted, free of charge, to any person obtaining
4
* a copy of this software and associated documentation files (the
5
* "Software"), to deal in the Software without restriction, including
6
* without limitation the rights to use, copy, modify, merge, publish,
7
* distribute, sublicense, and/or sell copies of the Software, and to
8
* permit persons to whom the Software is furnished to do so, subject to
9
* the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included
12
* in all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
*/
22
23
#ifndef INCLUDED_WVERSION
24
#define INCLUDED_WVERSION
25
26
/**
27
* @return CurrentVersion string from registry
28
**/
29
extern
const
wchar_t
*
wversion_String
();
30
31
// (same format as WINVER)
32
const
size_t
WVERSION_2K
= 0x0500;
33
const
size_t
WVERSION_XP
= 0x0501;
34
const
size_t
WVERSION_XP64
= 0x0502;
35
const
size_t
WVERSION_VISTA
= 0x0600;
36
const
size_t
WVERSION_7
= 0x0601;
37
const
size_t
WVERSION_8
= 0x0602;
38
39
/**
40
* @return one of the above WVERSION* values
41
**/
42
LIB_API
size_t
wversion_Number
();
43
44
/**
45
* @return short textual representation of the version
46
**/
47
extern
const
wchar_t
*
wversion_Family
();
48
49
#endif // #ifndef INCLUDED_WVERSION
WVERSION_XP
const size_t WVERSION_XP
Definition:
wversion.h:33
WVERSION_7
const size_t WVERSION_7
Definition:
wversion.h:36
wversion_Number
size_t wversion_Number()
Definition:
wversion.cpp:65
wversion_Family
const wchar_t * wversion_Family()
Definition:
wversion.cpp:36
wversion_String
const wchar_t * wversion_String()
Definition:
wversion.cpp:59
WVERSION_XP64
const size_t WVERSION_XP64
Definition:
wversion.h:34
WVERSION_8
const size_t WVERSION_8
Definition:
wversion.h:37
WVERSION_2K
const size_t WVERSION_2K
Definition:
wversion.h:32
WVERSION_VISTA
const size_t WVERSION_VISTA
Definition:
wversion.h:35
Generated on Mon Oct 14 2013 00:58:07 for Pyrogenesis by
1.8.5