GETVER.C
上传用户:linklycbj
上传日期:2009-11-12
资源大小:447k
文件大小:0k
源码类别:

Windows编程

开发平台:

WINDOWS

  1. #include <windows.h>
  2. int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
  3. { // WinMain
  4. char msg[128];
  5. wsprintf(msg, "Windows version is %4.4X", GetVersion());
  6. MessageBox(GetFocus(), msg, "GetVersion Value", MB_OK | MB_ICONINFORMATION);
  7. return 0;
  8. } // WinMain