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.

58 lines
2.2 KiB

  1. /****************************************************************************/
  2. /* abaapi.cpp */
  3. /* */
  4. /* RDP Bounds Accumulator API functions */
  5. /* */
  6. /* Copyright(c) Microsoft, PictureTel 1992-1996 */
  7. /* (C) 1997-1999 Microsoft Corp. */
  8. /****************************************************************************/
  9. #include <precomp.h>
  10. #pragma hdrstop
  11. #define TRC_FILE "abaapi"
  12. #include <as_conf.hpp>
  13. /****************************************************************************/
  14. /* Name: BA_Init */
  15. /* */
  16. /* Purpose: Initializes the Bounds Accumulator. */
  17. /****************************************************************************/
  18. void RDPCALL SHCLASS BA_Init(void)
  19. {
  20. DC_BEGIN_FN("BA_Init");
  21. #define DC_INIT_DATA
  22. #include <abadata.c>
  23. #undef DC_INIT_DATA
  24. DC_END_FN();
  25. }
  26. /****************************************************************************/
  27. /* Name: BA_UpdateShm */
  28. /* */
  29. /* Purpose: Updates the BA Shm. Called on the correct WinStation context. */
  30. /*****************************************************************************/
  31. void RDPCALL SHCLASS BA_UpdateShm(void)
  32. {
  33. DC_BEGIN_FN("BA_UpdateShm");
  34. if (baResetBounds)
  35. {
  36. TRC_ALT((TB, "Reset bounds"));
  37. BAResetBounds();
  38. baResetBounds = FALSE;
  39. }
  40. DC_END_FN();
  41. }
  42. /****************************************************************************/
  43. /* Instantiate the non-inlined common code. */
  44. /****************************************************************************/
  45. #include <abacom.c>