>>888
1) コマンドプロンプトから winver
2) (win32 API) GetVersionEx で取得