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
1.7 KiB

  1. /****************************************************************************/
  2. // aoaafn.h
  3. //
  4. // Function prototypes for OA API functions
  5. //
  6. // Copyright (C) 1996-2000 Microsoft Corporation
  7. /****************************************************************************/
  8. void RDPCALL OA_Init(void);
  9. void RDPCALL OA_UpdateShm(void);
  10. void RDPCALL OA_SyncUpdatesNow(void);
  11. #ifdef __cplusplus
  12. /****************************************************************************/
  13. /* OA_Term */
  14. /****************************************************************************/
  15. void RDPCALL SHCLASS OA_Term(void)
  16. {
  17. }
  18. /****************************************************************************/
  19. // OA_GetFirstListOrder()
  20. //
  21. // Returns pointer to the first order in the Order List.
  22. // PINT_ORDER RDPCALL OA_GetFirstListOrder(void);
  23. /****************************************************************************/
  24. #define OA_GetFirstListOrder() (!IsListEmpty(&_pShm->oa.orderListHead) ? \
  25. CONTAINING_RECORD(_pShm->oa.orderListHead.Flink, INT_ORDER, list) : \
  26. NULL);
  27. /****************************************************************************/
  28. /* OA_GetTotalOrderListBytes(..) */
  29. /* */
  30. /* Returns: The total number of bytes in the orders currently stored in */
  31. /* the Order List. */
  32. /****************************************************************************/
  33. UINT32 RDPCALL OA_GetTotalOrderListBytes(void)
  34. {
  35. return m_pShm->oa.TotalOrderBytes;
  36. }
  37. #endif // __cplusplus