programing:cpp_builder:cpp_builder-get-windows-version
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
programing:cpp_builder:cpp_builder-get-windows-version [2020/02/06 10:36] – [テーブル] yoko | programing:cpp_builder:cpp_builder-get-windows-version [2020/02/06 20:07] (現在) – [Windowsのバージョンを取得する] yoko | ||
---|---|---|---|
行 8: | 行 8: | ||
``` | ``` | ||
- | そこで対応について備忘録を残す。 | + | その対応について備忘録を残す。 |
- | TOSVersion構造体を利用する | + | TOSVersion構造体を利用 |
- | ------------------------- | + | --------------------- |
- | Windowsバージョンを以下の方法で取得。 | + | [[http:// |
### メジャーバージョン | ### メジャーバージョン | ||
行 32: | 行 32: | ||
Windowsの各バージョンの値は次のようになっている。 | Windowsの各バージョンの値は次のようになっている。 | ||
- | ^ OS種類 | + | ^ OS種類 |
- | | Windows 95 | 4 | 0 | | + | | Windows 95 | 4 | 0 | |
- | | Windows 98 | 4 | 10 | + | | Windows 98 | 4 | 10 |
- | | Windows Me | 4 | 90 | + | | Windows Me | 4 | 90 |
- | | Windows NT 4.0 | 4 | 0 | | + | | Windows NT 4.0 | 4 | 0 | `WIN32_NT`プラットフォーム |
- | | Windows 2000 | 5 | 0 | | + | | Windows 2000 | 5 | 0 | |
- | | Windows XP | 5 | 1 | | + | | Windows XP | 5 | 1 | |
- | | Windows 2003 | 5 | 2 | | + | | Windows 2003 | 5 | 2 | |
- | | Windows Vista | 6 | 0 | | + | | Windows Vista | 6 | 0 | |
- | | Windows 7 | 6 | 1 | | + | | Windows 7 | 6 | 1 | |
- | | Windows 8 | 6 | 2 | | + | | Windows 8 | 6 | 2 | |
- | | Windows 8.1 | 6 | 3 | | + | | Windows 8.1 | 6 | 3 | |
- | | Windows 10 | 10 | 0 | | + | | Windows 10 | 10 | 0 | |
programing/cpp_builder/cpp_builder-get-windows-version.1580952962.txt.gz · 最終更新: 2020/02/06 10:36 by yoko