getver.h
上传用户:chzmdj
上传日期:2007-01-22
资源大小:135k
文件大小:1k
源码类别:

源码/资料

开发平台:

C/C++

  1. #ifndef GETVERSION_H
  2. #define GETVERSION_H
  3. // predefined languange identifiers,
  4. #define CHINESE_TAIWAN  0x0404  //Chinese (Taiwan)
  5. #define CHINESE_PRC             0x0804  //Chinese (PRC)
  6. #define ENGLISH_UNITED_STATES   0x0409  //English (United States)
  7. #define PROCESS_DEFAULT 0x0400  //Process Default Language
  8. //Internet Explorer Version Numbers.
  9. #define IE_VERSION_FIRST        4       // IE major version
  10. #define IE_VERSION_SECOND       70      // IE minor version
  11. #ifdef __cplusplus
  12. extern "C" 
  13. {
  14. #endif
  15. /*
  16.         IsDesiredIEVersion check the whether the version of 
  17.         IE exefile specified by szIEExeName is 4.70.XXXX and
  18.         the whether this version of IE support the language
  19.         identified by dwLangId.
  20.  Parameters
  21.         szIEExeName
  22.                 .EXE file name of Internet Explorer 3.X
  23.         dwLangId
  24.                 language identifier, if this dword is 0, languange
  25.                 support will not check.
  26.  Return value
  27.                 If this is the desired IE version , return TRUE,
  28.                 otherwise, return FALSE, call GetLastError 
  29.                 to get extended error information. 
  30. */
  31. BOOL IsDesiredFileVersion(LPTSTR szFileName, DWORD dwLangId);
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif // GETVERSION_H