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.

38 lines
1.3 KiB

  1. /* ************************************************************************* */
  2. /* * Definitions for dictionary functions * */
  3. /* ************************************************************************* */
  4. #ifndef VOCUTILP_INCLUDED
  5. #define VOCUTILP_INCLUDED
  6. #if PS_VOC
  7. #define MAX_VOCPATH 128
  8. typedef struct {
  9. _ULONG hvoc;
  10. _UCHAR vocname[MAX_VOCPATH];
  11. p_VOID hvoc_dir;
  12. }vocptr_type;
  13. _SHORT voc_load(p_UCHAR vocname, _VOID _PTR _PTR vp);
  14. _SHORT voc_save(p_CHAR ptr, vocptr_type _PTR vp);
  15. _BOOL LockVocabularies( p_VOID vp );
  16. _BOOL UnlockVocabularies( p_VOID vp );
  17. _SHORT voc_unload(_VOID _PTR _PTR vp);
  18. _SHORT add_word(p_UCHAR inp_word, _SHORT stat, vocptr_type _PTR vp);
  19. _SHORT del_word(p_UCHAR inp_word, vocptr_type _PTR vp);
  20. _INT tst_word(p_UCHAR inp_word, p_UCHAR stat, vocptr_type _PTR vp);
  21. _USHORT word_search(p_UCHAR word, p_SHORT attr, vocptr_type _PTR vp);
  22. #endif
  23. #endif /* VOCUTILP_INCLUDED. */
  24. /* ************************************************************************* */
  25. /* * End of all * */
  26. /* ************************************************************************* */