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.

30 lines
1.2 KiB

  1. /***************************************************************************
  2. Name : FCOMINt.H
  3. Comment : Interface between FaxComm driver (entirely different for
  4. Windows and DOS) and everything else.
  5. Copyright (c) Microsoft Corp. 1991, 1992, 1993
  6. Num Date Name Description
  7. --- -------- ---------- -----------------------------------------------
  8. ***************************************************************************/
  9. #define WRITEQUANTUM (pTG->Comm.cbOutSize / 8) // totally arbitrary
  10. #define CR 0x0d
  11. #define LF 0x0a
  12. #define DLE 0x10 // DLE = ^P = 16d = 10h
  13. #define ETX 0x03
  14. BOOL ov_init(PThrdGlbl pTG);
  15. BOOL ov_deinit(PThrdGlbl pTG);
  16. OVREC * ov_get(PThrdGlbl pTG);
  17. BOOL ov_write(PThrdGlbl pTG, OVREC *lpovr, LPDWORD lpdwcbWrote);
  18. BOOL ov_drain(PThrdGlbl pTG, BOOL fLongTO);
  19. BOOL ov_unget(PThrdGlbl pTG, OVREC *lpovr);
  20. BOOL iov_flush(PThrdGlbl pTG, OVREC *lpovr, BOOL fLongTO);