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

/****************************************************************************/
// nbainl.h
//
// RDP Bounds Accumulator display driver inline-functions header.
//
// Copyright (C) 1997-2000 Microsoft Corporation
/****************************************************************************/
#ifndef _H_NBAINL
#define _H_NBAINL
#include <abacom.h>
/****************************************************************************/
// BA_GetTotalBounds
//
// Return the total size in pixels of the accumulated bounds.
/****************************************************************************/
__inline UINT32 BA_GetTotalBounds(void)
{
return pddShm->ba.totalArea;
}
/****************************************************************************/
/* Name: BA_QueryBounds */
/* */
/* Purpose: Returns the currently accumlated bounding rectangles. */
/* Does NOT reset the list. */
/* */
/* Params: pRects - pointer to buffer that receives the rects */
/* pNumRects - pointer to variable that receives number of */
/* rects returned. */
/****************************************************************************/
__inline void BA_QueryBounds(PRECTL pRects, unsigned *pNumRects)
{
BACopyBounds(pRects, pNumRects);
}
#endif // !defined(_H_NBAINL)