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.

43 lines
1.6 KiB

  1. /****************************************************************************/
  2. // nbainl.h
  3. //
  4. // RDP Bounds Accumulator display driver inline-functions header.
  5. //
  6. // Copyright (C) 1997-2000 Microsoft Corporation
  7. /****************************************************************************/
  8. #ifndef _H_NBAINL
  9. #define _H_NBAINL
  10. #include <abacom.h>
  11. /****************************************************************************/
  12. // BA_GetTotalBounds
  13. //
  14. // Return the total size in pixels of the accumulated bounds.
  15. /****************************************************************************/
  16. __inline UINT32 BA_GetTotalBounds(void)
  17. {
  18. return pddShm->ba.totalArea;
  19. }
  20. /****************************************************************************/
  21. /* Name: BA_QueryBounds */
  22. /* */
  23. /* Purpose: Returns the currently accumlated bounding rectangles. */
  24. /* Does NOT reset the list. */
  25. /* */
  26. /* Params: pRects - pointer to buffer that receives the rects */
  27. /* pNumRects - pointer to variable that receives number of */
  28. /* rects returned. */
  29. /****************************************************************************/
  30. __inline void BA_QueryBounds(PRECTL pRects, unsigned *pNumRects)
  31. {
  32. BACopyBounds(pRects, pNumRects);
  33. }
  34. #endif // !defined(_H_NBAINL)