Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
603 B

  1. // cutil.h
  2. //
  3. //
  4. #ifndef CUTIL_H
  5. #define CUTIL_H
  6. #include "private.h"
  7. //
  8. // base class for SR engine detection
  9. //
  10. class __declspec(novtable) CDetectSRUtil
  11. {
  12. public:
  13. virtual ~CDetectSRUtil()
  14. {
  15. if (m_langidRecognizers.Count() > 0)
  16. m_langidRecognizers.Clear();
  17. }
  18. BOOL _IsSREnabledForLangInReg(LANGID langidReq);
  19. LANGID _GetLangIdFromRecognizerToken(HKEY hkeyToken);
  20. //
  21. // this is an array of installed recognizers in their langid
  22. //
  23. CStructArray<LANGID> m_langidRecognizers;
  24. };
  25. #endif // CUTIL_H