Last change
on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
248 bytes
|
Rev | Line | |
---|
[829] | 1 | #include "stdafx.h"
|
---|
| 2 |
|
---|
| 3 | namespace ActiveBasic { namespace Common {
|
---|
| 4 |
|
---|
| 5 | OSVERSIONINFO const& GetOSVersion()
|
---|
| 6 | {
|
---|
| 7 | static OSVERSIONINFO vi;
|
---|
| 8 | if (vi.dwOSVersionInfoSize == 0)
|
---|
| 9 | {
|
---|
| 10 | vi.dwOSVersionInfoSize = sizeof vi;
|
---|
| 11 | ::GetVersionEx(&vi);
|
---|
| 12 | }
|
---|
| 13 | return vi;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.