Source code of Windows XP (NT5)
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.

24 lines
722 B

  1. /******************************************************************************\
  2. * FILE: valid.h
  3. *
  4. * Functions to verify stroke count by code point.
  5. \******************************************************************************/
  6. #ifndef __INCLUDE_VALID
  7. #define __INCLUDE_VALID
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. // Checks for stroke counts that are known to be invalid. Returns
  12. // Returns true unless we are sure that the stroke count is bad.
  13. extern int ValidStrokeCount(wchar_t wch, short iStroke);
  14. // Check for suspisious stroke counts. Return false if we think the
  15. // stroke count my be bad.
  16. extern int NotSuspStrokeCount(wchar_t wch, short iStroke);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif // __INCLUDE_VALID