C 言語関数:IsWindowsServer サンプルコード

サンプルコードを検索した結果です。


TITLE : Finding your Operating System version programmatically
The official way, however, to do version checking, is to use VerifyVersionInfo. If this look daunting, there are a whole bunch of helper functions such as IsWindows10OrGreater(), IsWindowsServer() and so on. This only lets you find out if you're running Windows greater than X, or less than X, or equal to X. It doesn't tell you outright what you're running on........
http://blog.yaakov.online/finding-operating-system-version/


Googleで検索

https://www.google.co.jp/#q=IsWindowsServer