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
968 B

  1. /* xfr_todo.c -- a file used to handle unwriten needs
  2. *
  3. * Copyright 1990 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 1 $
  7. * $Date: 10/05/98 1:16p $
  8. */
  9. #include <windows.h>
  10. #pragma hdrstop
  11. #define BYTE char
  12. #include <tdll\stdtyp.h>
  13. #include <tdll\session.h>
  14. #include <tdll\com.h>
  15. #include "xfr_todo.h"
  16. /*
  17. * This function is here to provide stubs for functions that have not yet
  18. * been ported over to WACKER. By the time WACKER is functional, this file
  19. * should be empty.
  20. */
  21. /* Replace the old CNFG structure */
  22. int cnfgBitRate()
  23. {
  24. /*
  25. * TODO: decide if we actually need this kind of stuff or can we skip it ?
  26. */
  27. return 9600;
  28. }
  29. int cnfgBitsPerChar(HSESSION h)
  30. {
  31. HCOM hC;
  32. int nRet = 7;
  33. /*
  34. * TODO: decide if we actually need this kind of stuff or can we skip it ?
  35. */
  36. // return 7;
  37. hC = sessQueryComHdl(h);
  38. if (hC)
  39. ComGetDataBits(hC, &nRet);
  40. return nRet;
  41. }