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.

50 lines
924 B

  1. /* File: D:\WACKER\htrn_jis\htrn_jis.h (Created: 24-Aug-1994)
  2. *
  3. * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 1 $
  7. * $Date: 10/05/98 1:06p $
  8. */
  9. /*
  10. * Return codes
  11. */
  12. #define TRANS_OK (0)
  13. #define TRANS_NO_SPACE (-1)
  14. /*
  15. * Function prototypes
  16. */
  17. VOID *transCreateHandle(HSESSION hSession);
  18. int transInitHandle(VOID *pHdl);
  19. int transLoadHandle(VOID *pHdl);
  20. int transSaveHandle(VOID *pHdl);
  21. int transDestroyHandle(VOID *pHdl);
  22. int transDoDialog(HWND hDLg, VOID *pHdl);
  23. /*
  24. * These two functtions work about the same. The caller stuffs character
  25. * after character into them and eventually gets some characters back.
  26. */
  27. int transCharIn(VOID *pHdl,
  28. TCHAR cIn,
  29. int *nReady,
  30. int nSize,
  31. TCHAR *cReady);
  32. int transCharOut(VOID *pHdl,
  33. TCHAR cOut,
  34. int *nReady,
  35. int nSize,
  36. TCHAR *cReady);