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.

45 lines
1.8 KiB

  1. /******************************************************************************
  2. *
  3. * $Workfile: lib95x.h $
  4. *
  5. * $Author: Psmith $
  6. *
  7. * $Revision: 11 $
  8. *
  9. * $Modtime: 6/06/00 16:12 $
  10. *
  11. * Description: Contains function prototypes for 16C95X UART library functions.
  12. *
  13. ******************************************************************************/
  14. #if !defined(_LIB95X_H) /* LIB95X.H */
  15. #define _LIB95X_H
  16. ULSTATUS UL_InitUart_16C95X(PINIT_UART pInitUart, PUART_OBJECT pFirstUart, PUART_OBJECT *ppUart);
  17. void UL_DeInitUart_16C95X(PUART_OBJECT pUart);
  18. void UL_ResetUart_16C95X(PUART_OBJECT pUart);
  19. ULSTATUS UL_VerifyUart_16C95X(PUART_OBJECT pUart);
  20. ULSTATUS UL_SetConfig_16C95X(PUART_OBJECT pUart, PUART_CONFIG pNewUartConfig, DWORD ConfigMask);
  21. ULSTATUS UL_BufferControl_16C95X(PUART_OBJECT pUart, PVOID pBufferControl, int Operation, DWORD Flags);
  22. ULSTATUS UL_ModemControl_16C95X(PUART_OBJECT pUart, PDWORD pModemSignals, int Operation);
  23. DWORD UL_IntsPending_16C95X(PUART_OBJECT *ppUart);
  24. void UL_GetUartInfo_16C95X(PUART_OBJECT pUart, PUART_INFO pUartInfo);
  25. int UL_OutputData_16C95X(PUART_OBJECT pUart);
  26. int UL_InputData_16C95X(PUART_OBJECT pUart, PDWORD pRxStatus);
  27. int UL_ReadData_16C95X(PUART_OBJECT pUart, PBYTE pDest, int Size);
  28. ULSTATUS UL_WriteData_16C95X(PUART_OBJECT pUart, PBYTE pData, int Size);
  29. ULSTATUS UL_ImmediateByte_16C95X(PUART_OBJECT pUart, PBYTE pData, int Operation);
  30. ULSTATUS UL_GetStatus_16C95X(PUART_OBJECT pUart, PDWORD pReturnData, int Operation);
  31. void UL_DumpUartRegs_16C95X(PUART_OBJECT pUart);
  32. #define UL_SetAppBackPtr_16C95X UL_SetAppBackPtr
  33. #define UL_GetAppBackPtr_16C95X UL_GetAppBackPtr
  34. #define UL_GetConfig_16C95X UL_GetConfig
  35. #define UL_GetUartObject_16C95X UL_GetUartObject
  36. #endif /* End of LIB95X.H */